Thank you for replying.
What i am trying to do is make it as easy as possible for the user, who
knows nothing about access, to generate a report after entering data on a
form.
This is for a landfill database in which the manager will enter the number
of loads coming in to 5 different landfills each day. So, a designed a query
(which displays as a subform for the user) to ask for input: both landfill
location and date parameters. At the end of each month, the manager wants to
be able to generate a month end report of the number of loads for the
landfill specified. However, he doesn't have time, nor the know-how, to
generate a report manually/through the wizard. I was just hoping there was a
way to just click a button which will run the query and automatically
generate the report.
I've already made two steps: (1) one form has a button that runs the query,
(2) which opens as a subform in another form
Then, on the (2) form I put a button to open the report (which is
pre-designed) with the values of the subform displayed in it.
I went to Access 2007 Online Help and I watched the video from Brainstorm
called "Building a Macro". It demonstrated to me something similar as to what
i need. The only difference is that, instead of a combo box, I need the
subform to equal the report. Right now, all the links are working, but the
values of the subform are not appearing in the report.
I hope this all makes sense. I'm not too sure how it all works behind the
scenes. I'm not fluent in SQL. However, I do have an Intermediate level in
Access 2007.
Thank you so much for all your help. I really appreciate it.
All the best,
Kaylee Pare