I want to use the * wildcard in a query if a forms control has been checked to return all records but somehow I haven't got the syntax right.
This returns all records with X as the category
IIf([FORMS]![Main]![CategoryX]=True,"X")
but
IIf([FORMS]![Main]![CategoryX]=True,Like "*") does not return any records.
Grateful for any help
This returns all records with X as the category
IIf([FORMS]![Main]![CategoryX]=True,"X")
but
IIf([FORMS]![Main]![CategoryX]=True,Like "*") does not return any records.
Grateful for any help