A
Amanda Payton
I have a parameter query that I would like to "automate" (if you will) by
using VB to pass criteria to a parameter query based on a command button.
Basically - when my user clicks one of several buttons, I want a report
(based on a parameter query) to open, but I don't want the user to be
prompted for criteria, I want VB to supply it at the OnClick event from the
command button.
The report opens fine, and such, but right now I've got a seperate report
and query for each button - and I'm accumulating enough queries and reports
that:
A) it's getting to be obnoxious surfing through the list to find what I want
to edit
B) when I edit the format/layout of 1 report, I have to edit all the others
to match
when I had 3 task buttons, it wasn't so bad... but now I've got 12.... not
so fun...
I know a parameter query/report combo is the way to go - but like I said - I
don't want my users to be able to enter just anything for a parameter...
Especially after clicking a button that (logically) SHOULD have all
parameters defined.
Ideas? thoughts? HELP!
-Amanda
using VB to pass criteria to a parameter query based on a command button.
Basically - when my user clicks one of several buttons, I want a report
(based on a parameter query) to open, but I don't want the user to be
prompted for criteria, I want VB to supply it at the OnClick event from the
command button.
The report opens fine, and such, but right now I've got a seperate report
and query for each button - and I'm accumulating enough queries and reports
that:
A) it's getting to be obnoxious surfing through the list to find what I want
to edit
B) when I edit the format/layout of 1 report, I have to edit all the others
to match
when I had 3 task buttons, it wasn't so bad... but now I've got 12.... not
so fun...
I know a parameter query/report combo is the way to go - but like I said - I
don't want my users to be able to enter just anything for a parameter...
Especially after clicking a button that (logically) SHOULD have all
parameters defined.
Ideas? thoughts? HELP!
-Amanda