Hi there,
I think this is a simple question. I want to do the following programmatically:
I have a report with 2 subreports in it.
I want to assign my SQL code to the recordsource for each report (3 total).
I want to use the values from two text boxes (the start and end dates) in my SQL code. These text boxes are in a Form.
I want to open up my report (with the 2 subreports) from my Form.
My questions:
How do you open a Report from a Form (programmatically)?
How do you assign the SQL code to each report and subreport?
Just the preliminary code will help me get started!
Thank you!!
Andrea
I think this is a simple question. I want to do the following programmatically:
I have a report with 2 subreports in it.
I want to assign my SQL code to the recordsource for each report (3 total).
I want to use the values from two text boxes (the start and end dates) in my SQL code. These text boxes are in a Form.
I want to open up my report (with the 2 subreports) from my Form.
My questions:
How do you open a Report from a Form (programmatically)?
How do you assign the SQL code to each report and subreport?
Just the preliminary code will help me get started!
Thank you!!
Andrea