A
AlCamp
I have a parameter query with the parameter on a True/False field.
My parameter is...
[A=Active or I=InActive]
then I use that in an IIF statement to set the criteria...
IIF([A=Active or I=InActive] = "A",-1,0)
What I want to do is...
If the user leaves the parameter blank (null) by just hitting the Enter key,
I'd like to return BOTH True and False records.
(in other words, if the parameter is blank, don't apply any criteria to the
True/False field)
IIf(IsNull([A=Active or I=InActive]), ?What goes here?, IIF([A=Active
or I=InActive] = "A",-1,0)
Thanks in advance,
Al Camp
My parameter is...
[A=Active or I=InActive]
then I use that in an IIF statement to set the criteria...
IIF([A=Active or I=InActive] = "A",-1,0)
What I want to do is...
If the user leaves the parameter blank (null) by just hitting the Enter key,
I'd like to return BOTH True and False records.
(in other words, if the parameter is blank, don't apply any criteria to the
True/False field)
IIf(IsNull([A=Active or I=InActive]), ?What goes here?, IIF([A=Active
or I=InActive] = "A",-1,0)
Thanks in advance,
Al Camp