Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Applying Filter for Reports based on Queries 1

Status
Not open for further replies.

Heraldo

Technical User
Aug 11, 2004
2
IE
I have 7 queries with 7 reports and a user form, with combobox to select which report should be selected. I want to give the user a filtering option by way of another combo box / List box, on this form, which would select report results based on a field in the query.
I'm stumped as to what type of code I should write and where I should put the code.I have looked at many existing threads, and applied various examples of code behind the command button, but found nothing that applies that well
Any pointers in this direction would be appreciated.
 
have the query reference the text property of the combobox.

Something like this:

Code:
 =Form!FormName!cboName.text

where the FormName is the name of your form and the cboName is the name of your combobox.

I think I have that correct, if not, you should be able to find it in help.

 
Cheers Hneal98, got that sorted and working!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top