Thanks for your reply.
I have a form F00 based on a query Q00. In the form there is a field called
MatterClosed which is a Yes/No check box. If I put the above expression in
the Criterion row of the MatterClosed field in the query, I can type Yes in
the dialog box that comes up and I get all the Yes records. If I type No, I
get all the No records.
However, I would like to have the option to display all records come up. It
doesn't work to leave the dialog box blank, because if I don't type anything
in the dialog box I get all the No records, NOT all the records, the way I
want.
Is there a way to combine the above expression with the option to get all
records - or even without using the above expression, to have the option to
have either the Yes records, or the No records, or all the records.
KARL DEWEY said:
Can you explain what you are trying to do with some examples?
--
Build a little, test a little.
:
RonaldoOneNil gave me the very useful info of:
=IIF([Enter Yes or No]="Yes",True,False)
for a parameter query criterion (for a check box in a form).
I would like to know if I can enter Yes or No AND have the option for both.
Presumably it would be in the Or row, but I don't know what to enter.
Thanks for any help.