I
Isbjornen
Hello,
I'm trying to find a wildcard for IIF statement in a Query
criteria. Here's what it looks like in the Query Criteria:
IIf([Forms]![frmStampsMain]![fraActive]=3,"Bonded",IIf
([Forms]![frmStampsMain]![fraActive]
=4,"Unassigned", 'Something goes here for the false
statement to display all values'))
If [fraActive] is 3 or 4, it shows either "Bonded"
or "Unassigned", which is good. However, when [fraActive]
is 1 or 2, I want it to display
both "Bonded", "Unassigned", and anything else.
I've tried to use *, ?, %, and _ but I can't get it to
work.
Please help,
Isbjornen
I'm trying to find a wildcard for IIF statement in a Query
criteria. Here's what it looks like in the Query Criteria:
IIf([Forms]![frmStampsMain]![fraActive]=3,"Bonded",IIf
([Forms]![frmStampsMain]![fraActive]
=4,"Unassigned", 'Something goes here for the false
statement to display all values'))
If [fraActive] is 3 or 4, it shows either "Bonded"
or "Unassigned", which is good. However, when [fraActive]
is 1 or 2, I want it to display
both "Bonded", "Unassigned", and anything else.
I've tried to use *, ?, %, and _ but I can't get it to
work.
Please help,
Isbjornen