J
jo
Can I put two Where Conditions in a macro together? If yes how?
Condition1: List Box
=IIf([Forms]![Print Gauge List Dialog]![Select Dept] Is
Null,"","[Department]=Forms![Print Gauge List Dialog]![Select Dept]")
Condition 2: Check Box
IIf([Forms]![Print Gauge List Dialog]![Not
Active]=True,[GaugeInfo]![NotInUse]=True,[GaugeInfo]![NotInUse]=False
First condtiion is for a list box where the user can select a Dept
2nd condition is if the user also select the check box.
I have these conditions in a group macro for a Print Option Dialog. but I
cannot seem to put the condition as one so that the macro reads both
conditions?
Does any one know how I can put the two conditions together please???
Condition1: List Box
=IIf([Forms]![Print Gauge List Dialog]![Select Dept] Is
Null,"","[Department]=Forms![Print Gauge List Dialog]![Select Dept]")
Condition 2: Check Box
IIf([Forms]![Print Gauge List Dialog]![Not
Active]=True,[GaugeInfo]![NotInUse]=True,[GaugeInfo]![NotInUse]=False
First condtiion is for a list box where the user can select a Dept
2nd condition is if the user also select the check box.
I have these conditions in a group macro for a Print Option Dialog. but I
cannot seem to put the condition as one so that the macro reads both
conditions?
Does any one know how I can put the two conditions together please???