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

Set the filter for a stored query

Status
Not open for further replies.

48Highlander

Technical User
Feb 8, 2004
119
CA
How do I set the filter string for a stored query in my mdb database? Do I also have to set filteron after I do that? and if so how?

Bill J
 
I would just use code to change the SQL of a saved query like:
Code:
Currentdb.QueryDefs("qselMyQuery").SQL = "SELECT ...."

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top