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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

filter report by control name and then by control content

Status
Not open for further replies.

mvital

Technical User
Jul 2, 2003
128
US
Hi All,

I am using Access 2003. I am using a filter form that allows the user to filter a report in print preview based on certain criteria chosen by the user. It works great. I've been requested to add another filter option. The client wants to be able to choose the controls (fields/columns)he wants to search data for. For example, Date, Investigation, Result etc. so he could filter for one column or all the columns. Is this possible? I am not a programmer. Would I use a visible or invisible, enable or disable. I think I know how I would do it, but again don't know how to start the code.

Any help or examples would be very much appreciated!

 
im not sure if im fully understanding what you want but why don't you create a search form which users can use to filter what they want?
 
I do have a search form (filter form), but I want to be able to display one, two, or all of the controls. Think about a database or spreadsheet. You are able to select via a query the fields you want to specify criteria for. Similarly, I want to be able to choose what fields I want to filter by and then specify the criteria for each, but via my search form (filter form) in a report print preview.

I hope this is clearer. :)Thanks for responding.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top