This is my passing criteria to query field:
IIf([Forms]![FrmUserSelection]![PricingType]=3,1 Or 2,[Forms]![FrmUserSelection]![PricingType])
My field is Pricing Type and holds records 1 or 2
I would like to pass value from my group option from a form.
It works fine if group option has a value 1 or 2 but it displays no records if option value is 3 What is wrong with my code.
Thanks
IIf([Forms]![FrmUserSelection]![PricingType]=3,1 Or 2,[Forms]![FrmUserSelection]![PricingType])
My field is Pricing Type and holds records 1 or 2
I would like to pass value from my group option from a form.
It works fine if group option has a value 1 or 2 but it displays no records if option value is 3 What is wrong with my code.
Thanks