I have a query whose Criteria is linked to a Form. Specifically when someone selects a Location and pushes a Button the Query will run and only pull thru the Location that was selected. So far so good, now I would like to add one additional piece of criteria to the same field that if No Location is chosen it will pull for all Locations. Below is what I have tried but it doesn't work.
Code:
IIf(IsNull([Forms]![FrmReporting]![Combo_RefLocName]),"*",[Forms]![FrmReporting]![Combo_RefLocName])