B
Brigitte P
I have my query and my listbox running fine. The user selects several
records (either by holding shift or ctr key) in the list box which then
passes on to my query which is the basis for the report. However, to get the
whole thing update when a new selection is made, I have the user to (via
buttons on the selection form) first run the query, then print the report,
then clear the form (requery button). I know there must be a better way, but
help just talks about requery, which seems to reset the listbox, but doesn't
reset the query. How can I activate the query once a new selection is made
and before the report is run without having the user to run the query?
I put requery in many possible forms on the Open Event on the report, but
nothing happens, and I kind of understand why. I then put the requery
command in the button that activates the report, again no luck.
What I need is that the query gets activated after the user made the
selection, but before the report is printed. I don't know how to do this.
Please help.
Brigitte P.
records (either by holding shift or ctr key) in the list box which then
passes on to my query which is the basis for the report. However, to get the
whole thing update when a new selection is made, I have the user to (via
buttons on the selection form) first run the query, then print the report,
then clear the form (requery button). I know there must be a better way, but
help just talks about requery, which seems to reset the listbox, but doesn't
reset the query. How can I activate the query once a new selection is made
and before the report is run without having the user to run the query?
I put requery in many possible forms on the Open Event on the report, but
nothing happens, and I kind of understand why. I then put the requery
command in the button that activates the report, again no luck.
What I need is that the query gets activated after the user made the
selection, but before the report is printed. I don't know how to do this.
Please help.
Brigitte P.