G
Guest
I have created a form that has a list box and a button.
The list box is populated by a query that has two fields that have been
selected so that there are no duplicates in the list. The command button is
there to print a report.
Once they have picked one of the items from the list, they will click on the
button to have a report printed.
The item picked in the list must be used to create a query to select items
in the database that are associated with the item picked. The report will
print out the items selected.
I need some help in knowing how to pass the item picked to the query that
will gather the items and pass that on to the report. Naturally I want to
use the same report for each time a different item is picked.
Can someone please help me start in the right direction. I can develop the
queries and the report but I don't know how to setup communicating to the
button and sending the query to the report.
Thank you for your help.
The list box is populated by a query that has two fields that have been
selected so that there are no duplicates in the list. The command button is
there to print a report.
Once they have picked one of the items from the list, they will click on the
button to have a report printed.
The item picked in the list must be used to create a query to select items
in the database that are associated with the item picked. The report will
print out the items selected.
I need some help in knowing how to pass the item picked to the query that
will gather the items and pass that on to the report. Naturally I want to
use the same report for each time a different item is picked.
Can someone please help me start in the right direction. I can develop the
queries and the report but I don't know how to setup communicating to the
button and sending the query to the report.
Thank you for your help.