Hi everyone,
I would like to set up a form, that will show a report available for printing/previewing. What I would also like to have on this form is a "multi-select" list box to allow the user to pick certain info to filter this report.
I have set up the list box as unbound, and set the rowsource as the query for my field "unit".
Now, what I am getting stuck on is having the list box communicate w/ the command button "preview report".
What I would like to do is have the user pick the unit numbers out of the list box that they would like to see, and then have them click "preview report" to get the filtered info.
Does anyone have any idea on how to link the two? Also, can I do this without setting a parameter query, I don't have the faintest idea on how to set a parameter query to a listbox.
I really need to figure this out (I have looked at all of my Access Books, and done searches, but am still confused). What also frightens me is the fact, that I need to do this to all of the reports that I am generating (about 20), I figure once I do it the first time, I will be a pro (smile)
Thanks!!
I would like to set up a form, that will show a report available for printing/previewing. What I would also like to have on this form is a "multi-select" list box to allow the user to pick certain info to filter this report.
I have set up the list box as unbound, and set the rowsource as the query for my field "unit".
Now, what I am getting stuck on is having the list box communicate w/ the command button "preview report".
What I would like to do is have the user pick the unit numbers out of the list box that they would like to see, and then have them click "preview report" to get the filtered info.
Does anyone have any idea on how to link the two? Also, can I do this without setting a parameter query, I don't have the faintest idea on how to set a parameter query to a listbox.
I really need to figure this out (I have looked at all of my Access Books, and done searches, but am still confused). What also frightens me is the fact, that I need to do this to all of the reports that I am generating (about 20), I figure once I do it the first time, I will be a pro (smile)
Thanks!!