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!

Query with Yes/No datatype

Status
Not open for further replies.
May 5, 2000
168
US
I have a combobox where the afterupdate event displays a report with filtered records based on the selection in the box. The field is a yes no datatype.

The interesting thing is in the query when I use the group by for the field the results are -1 and No. What appears in the combo box is Yes or No.

The filter doesn't work on the report. Both yes and no are showing.

Any suggestions.
 
A yes/no combo Box actually stores the values of True and False so when you are checking these values you should do it True = Yes, False = No if you are querying on a field I think you only have to check ( = True ) if you want all of the records that are yes.

Walt III
SAElukewl@netscape.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top