I am trying to create a form based on a query that has a yes/no field.
If the user checks a box on the form it will return all the records regardless of whether they are "true" or "false". If the box goes unchecked only the "true" records get returned.
I have tried the following and many more variations within the criteria of the query with no success.
IIf([Forms]![SomeForm]![CheckBox]=False,True,IsNull)
The above will return no records when the checkbox is checked. Anyone got any suggestions?
Thanks,
Kevin
If the user checks a box on the form it will return all the records regardless of whether they are "true" or "false". If the box goes unchecked only the "true" records get returned.
I have tried the following and many more variations within the criteria of the query with no success.
IIf([Forms]![SomeForm]![CheckBox]=False,True,IsNull)
The above will return no records when the checkbox is checked. Anyone got any suggestions?
Thanks,
Kevin