S
scratchtrax
I am in 2000. I have a selection main menu form with several combo-boxes
that are the selection criteria to open another form to the correct selection
set. I would like to add a command button to the second form that will open
my report and contain the same set of selected records.
Right now, the user enters info into the combo & text boxes and clicks a
button. These selections and entries are the sql selection query criteria
used to open the second form to the selected set of records when the user
clicks the button. I'd like to add a button to that form that will open (or
print) a report that contains the same set of records.
I've considered going back to the main menu form and adding the button there
to go right to the report (which I'd rather not do). Or, perhaps saving the
sql selection criteria into the second form and using it again to open the
report from the second form. Any ideas, thoughts or opinions would be
gratefully appreciated. If saving the sql statement is even possible. I've
used open args before but this would have to be a little different.
that are the selection criteria to open another form to the correct selection
set. I would like to add a command button to the second form that will open
my report and contain the same set of selected records.
Right now, the user enters info into the combo & text boxes and clicks a
button. These selections and entries are the sql selection query criteria
used to open the second form to the selected set of records when the user
clicks the button. I'd like to add a button to that form that will open (or
print) a report that contains the same set of records.
I've considered going back to the main menu form and adding the button there
to go right to the report (which I'd rather not do). Or, perhaps saving the
sql selection criteria into the second form and using it again to open the
report from the second form. Any ideas, thoughts or opinions would be
gratefully appreciated. If saving the sql statement is even possible. I've
used open args before but this would have to be a little different.