Rossz,
Having read your correspondence with Tina, I'll try to
guess what you've done / want to do, and throw in an idea,
in case it helps...
The obvious suggestion would be to (a) put in your input
form as many report buttons as the reports... kind of
messy, or (b) make the button open a further form to
choose the report you want. I suspect, though, I'm not
proposing something you haven't though of already, it's
just too obvious, but not what you want...
So, leaving the obvious behind, here starts the
guesswork... I assume you have already chosen the report
to be run in a previous step, and the report procedure
itself opens up the input form(s), so what you want is
THAT particular report to be executed once you've entered
your parameters, without the user having to re-choose it?
Well, if that's the case, I can think of a way or two to
it:
1. Add a hidden textbox on the input form
2. Make the procedure (macro or code) that opens the input
form store the report name in the hidden text box on the
form
3. The macro or code run from the "run report" button on
the input form can then read that text box and run the
specific report.
Alternatively, if all of this is handled by code, you
don't even need the text box on the form; all you need isa
global variable to hold the report name.
HTH,
Nikos