I have a form users use to select criteria for opening a datasheet form of the filtered data. I would like to have a button on the form of filtered data to produce a report of that filtered data. I'm trying to figure out who to pass on the where condition used to open the form to the report.
There are over 100,000 records in the table being used for the form and the report. The table itself is linked to a SQL server. The users will use the first form to filter the data by date range, category, and facility. Now I just need to make it so they can generate a report for printing or saving as a PDF.