I am trying to open a report using this code:
DoCmd.OpenReport "rptCustom", acPreview, , "IIf(IsNull([Forms]![frmChooseFields]![chooseflight], ,[Flight] = [Forms]![frmChooseFields]![chooseflight])"
The form has a combobox with 4 different options for flights. When you select one and click the...