I am trying to write an IIf statement in the criteria section of a field, the statement is:
IIf([Forms]![FRM: Import FN1 Extract - Manager Specific]![Combo0]="All",?,[Forms]![FRM: Import FN1 Extract - Manager Specific]![Combo0]")
Basically it takes the value selected in the combo box of a form and filters that name from the query and creates a table. I want the IIf statement to select all records if the value selected in the combo box is "All" and to select specific records if any other value is selected in the combo box. Thank you for the help.
IIf([Forms]![FRM: Import FN1 Extract - Manager Specific]![Combo0]="All",?,[Forms]![FRM: Import FN1 Extract - Manager Specific]![Combo0]")
Basically it takes the value selected in the combo box of a form and filters that name from the query and creates a table. I want the IIf statement to select all records if the value selected in the combo box is "All" and to select specific records if any other value is selected in the combo box. Thank you for the help.