Hi Everybody,
I hope someone can help me with this (probably) simple question.
I have a table with several fields (i.e. country, subject, scale, date, etc.)
I have a form with different list boxes (i.e. one to select the country, one to select the subject, etc.) based on my table.
On the form I put a RunQuerry Button that should querry for the parameters selected in the list boxes and show the results in a report.
At the moment if I press my RunQuerry Button I get a "Enter Parameter Value" Box for each field defined in the querry (i.e. country, subject, scale, etc.). After typing all the parameters I get a report with the results.
The problem is, that I don't want this "Enter Parameter Value" Boxes, but I want to select my parameters with the ListBoxes and then the RunQuerry Button should run the querry and open the report with the results based on the selections made in the different ListBoxes.
SUMMARY:
I WANT TO SELECT MY PARAMETERS IN THE LIST BOXES AND DEPENDING ON THESE SELECTIONS I WANT A REPORT TO POP UP SHOWING ALL THE RECORDS WITH THESE PARAMETERS
MY QUESTION IS:
HOW DO I LINK (THE PARAMETERS SELECTED IN) THE LISTBOXES WITH THE COMMANDBUTTON THAT RUNS THE QUERRY AND OPENS THE REPORT WITH THE RESULTS?
Thank's a lot for any answer
Ciao Andreas
I hope someone can help me with this (probably) simple question.
I have a table with several fields (i.e. country, subject, scale, date, etc.)
I have a form with different list boxes (i.e. one to select the country, one to select the subject, etc.) based on my table.
On the form I put a RunQuerry Button that should querry for the parameters selected in the list boxes and show the results in a report.
At the moment if I press my RunQuerry Button I get a "Enter Parameter Value" Box for each field defined in the querry (i.e. country, subject, scale, etc.). After typing all the parameters I get a report with the results.
The problem is, that I don't want this "Enter Parameter Value" Boxes, but I want to select my parameters with the ListBoxes and then the RunQuerry Button should run the querry and open the report with the results based on the selections made in the different ListBoxes.
SUMMARY:
I WANT TO SELECT MY PARAMETERS IN THE LIST BOXES AND DEPENDING ON THESE SELECTIONS I WANT A REPORT TO POP UP SHOWING ALL THE RECORDS WITH THESE PARAMETERS
MY QUESTION IS:
HOW DO I LINK (THE PARAMETERS SELECTED IN) THE LISTBOXES WITH THE COMMANDBUTTON THAT RUNS THE QUERRY AND OPENS THE REPORT WITH THE RESULTS?
Thank's a lot for any answer
Ciao Andreas