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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conversion of yes/no to text

Status
Not open for further replies.

harrysdad

Programmer
May 30, 2002
53
GB
I have manually converted Yes/No fields in an access table to text, and instead of -1 or 0, they say "Yes" or "No" - I need to know how you can make this conversion in a query (access not my strong point!)

Regards,

Tony
 
Try
[tt]
Select ..., IIF (YesNoField=TRUE, "Yes", "No") As [YN], ...
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top