lstantliff
Registered User.
- Local time
- Today, 18:11
- Joined
- Apr 28, 2006
- Messages
- 24
Hiya! I would like to start by thanking everyone for their time and expertise!!
I created a report with 4 subreports. Each subreport is based on a different query but the same parameters apply to each subreport. When I opened the report, I had to enter the parameters 4 times, one for each query. On another thread, someone advised me to use a form to enter the parameters. I created an unbound form with 4 text boxes for the parameters and on OK and Cancel command button.
Now, when I open my report (RptAnnualProdSum), my form opens (AnnualDialog). I enter my parameters and click OK. The form closes and nothing happens. Attached to the OK button, I have a SetValue macro. Can anyone pinpoint what I may have done wrong?
Also, I'm fairly new to this so easy with the code. I do understand a little about it but you must be very precise about how and where to use it.
Thanks again for the help. I have learned alot ing this forum!!!
I created a report with 4 subreports. Each subreport is based on a different query but the same parameters apply to each subreport. When I opened the report, I had to enter the parameters 4 times, one for each query. On another thread, someone advised me to use a form to enter the parameters. I created an unbound form with 4 text boxes for the parameters and on OK and Cancel command button.
Now, when I open my report (RptAnnualProdSum), my form opens (AnnualDialog). I enter my parameters and click OK. The form closes and nothing happens. Attached to the OK button, I have a SetValue macro. Can anyone pinpoint what I may have done wrong?
Also, I'm fairly new to this so easy with the code. I do understand a little about it but you must be very precise about how and where to use it.
Thanks again for the help. I have learned alot ing this forum!!!