Hi
I have a report that gets filtered by a form with 2 combo boxes on. If I select data from both the combo boxes the report works fine. I'd like to get it to have the ability to select data from 1 or 2 of the combo boxes. The code is;
DoCmd.OpenReport " Dynamic Specialty Performance ", acViewPreview, , "(Performance.Specialty =[Forms]![Performance Dynamic Report Builder]![Text91])and (Performance.Gender=[Forms]![Performance Dynamic Report Builder]![Text94])"
Tried everywhere but can't get it to work.
Thanks
I have a report that gets filtered by a form with 2 combo boxes on. If I select data from both the combo boxes the report works fine. I'd like to get it to have the ability to select data from 1 or 2 of the combo boxes. The code is;
DoCmd.OpenReport " Dynamic Specialty Performance ", acViewPreview, , "(Performance.Specialty =[Forms]![Performance Dynamic Report Builder]![Text91])and (Performance.Gender=[Forms]![Performance Dynamic Report Builder]![Text94])"
Tried everywhere but can't get it to work.
Thanks