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

Variable Report Filter

Status
Not open for further replies.

phillipsrhit

Technical User
Jul 1, 2002
2
US
While creating a report, I need to prompt the user to enter the name of row in the table that is being reported. If the user leaves the prompt empty, I want to show all rows. Else, I want to check the prompt against a particular field in the table, and just report that one row.

I have figured out how to turn the filter on and off by looking to see if the prompt is null. But where I am getting stuck is when I try to enter the string to be used as the filter (ModName = module_name) where module_name is the table field and ModName is the variable I saved the prompt as. How can I make the filter work?

Thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top