I have a mini-form with two combo boxes and a launch button that I use to customize a query that then feeds a report. It's a pretty straightfoward operation and works fine.
The hang-up is that on the report I have a field in the header that counts the number of records in the query and reports that number in the field. I would like to automatically close the mini-form that customizes the query, but when I do that, the query apparently resets and the count returns an error. (The report does show the correct records, however).
Is it possible to make the either query or the combo box values persistant enough to get my DCount and still close the mini-form automatically with my on-click event from the launch button?
Thanks, Rob
The hang-up is that on the report I have a field in the header that counts the number of records in the query and reports that number in the field. I would like to automatically close the mini-form that customizes the query, but when I do that, the query apparently resets and the count returns an error. (The report does show the correct records, however).
Is it possible to make the either query or the combo box values persistant enough to get my DCount and still close the mini-form automatically with my on-click event from the launch button?
Thanks, Rob