Select Yes or All (yes and no)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In a query, how can I select 'yes' records or all (yes and no records). I
either want to see only yes-records or all records.

Thank you.
 
SELECT * FROM YourTable WHERE YourField = Like [Enter Condition]

When the dialogue comes up, either enter -1 (Yes) or * (All)

HTH;

Amy
 
In a query, how can I select 'yes' records or all (yes and no records). I
either want to see only yes-records or all records.

Thank you.

WHERE YourTable.CheckField =-1 OR [All?] Is Null;

When prompted, enter anything and click OK to return all the records.
Just click OK (without entering anything) to get just the Yes values.
 
Back
Top