Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Append Query What values do you use to append a Yes into a Yes/No 2

Status
Not open for further replies.

JC442

MIS
Apr 19, 2004
34
0
0
US
Dear Wonderful Person Who Can Help,

I have to populate an access table that has fields with Yes/No Format. If I want the value to be checked "Yes" what value should be used in the append data query.
Using "Yes", 1, and -1 have not worked. Software is Access 2003.

Thanks,
JC
 
You just use Yes and No (without the quotes).

Hope this helps,

Alex

[small]----signature below----[/small]
Now you can go where the people are one!
Now you can go where they get things done!
 

... or True

UPDATE myTable
SET myYesNoField = True
WHERE myWhereClause
 
An interesting wrinkle in this problem is that the table designer Used a Yes/No Format and combined it with a validation ="No" Or "Yes". Since Yes/No fields normally hold values of 0 or -1 this may be the problem.

Because of the Validation rule / Format Combination True, or Yes, or "Yes' or 0 or -1 will not work.

I'm going back to the table designer with this one.

Thank you both for you kind input.
Very Best,
JC

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top