I have a main report with up to three sub reports depending on what check boxes the user selects on the form that calls the report. There is always a small amount of data on the main report. If the operator checks a check box for sub report 1, 2, or 3, then they appear as well. I have put the test for the check box in the sub report's underlying record source. However, this technique causes the sub report to open, read all the data from the record source query, and finally reject them all since the check box isn't checked. This works but makes the report run very slow. I would like to modify the record sources for the sub reports based on the check boxes before the sub reports open, so that if the check box for a sub report isn't checked, then the record source for the sub report is blank. What event should I use to modify the sub report's record source and what syntax should I use?
Thanks, Eddie