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!

Trying to save a filter as query

Status
Not open for further replies.

melaniews

Technical User
Oct 14, 2002
91
US
This is what I have so far (in the unload event). My problem is the saveasquery command prompts for a filename and I can't figure out how or where to put the text and click the OK button. It will also prompt me that the file already exists and do I want to save anyway.

Also I'm not sure of how to use the echo command but would like this all to be invisible.



DoCmd.RunCommand acCmdFilterByForm
DoCmd.RunCommand acCmdSaveAsQuery


DoCmd.Close



All help here would be appreciated.

TIA,
Melanie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top