D
DDBeards
I have a form that is used to filter data via a query to produce a report.
The form has two control sources, the first is a combo box to select a type
of service and the second is a print all toggle switch. Here is the code I
placed in the Criteria of the querry. The false part of the statement works
great (When the All_Toggle is false), however, when I select the All_Toggle I
get no records at all.
IIf([FORMS]![Frm_RptServ_Filter]![All_Toggle],like
"*",[FORMS]![Frm_RptServ_Filter]![Combo_Serv])
The Criteria is on a text field named X_PID. Please help.
Chris
The form has two control sources, the first is a combo box to select a type
of service and the second is a print all toggle switch. Here is the code I
placed in the Criteria of the querry. The false part of the statement works
great (When the All_Toggle is false), however, when I select the All_Toggle I
get no records at all.
IIf([FORMS]![Frm_RptServ_Filter]![All_Toggle],like
"*",[FORMS]![Frm_RptServ_Filter]![Combo_Serv])
The Criteria is on a text field named X_PID. Please help.
Chris