Displaying Yes/no fields the same on all computers sometimes -1 or

B

bamahog

I have a Access database on a network. On some computers a list box that
displays the results of a query with a yes/no field in it is displayed as
either yes or no but on other computers the same field is displayed as -1 or
0. How do I get this to display either a yes or no on all computers?
 
G

Golfinray

Access stores yes as -1, no as 0. One thing you could do is to have an IIF
statement in your query. IIF([yourfield]=-1, "yes","no") or put a textbox on
your form with the control source =IIF([your filed]=-1,"yes","no")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top