Deleting a Query

  • Thread starter Thread starter Anne
  • Start date Start date
Hi,
If you mean how do you delete a query from code:
CurrentDb.QueryDefs.Delete("yourQuery")

HTH
Dan Artuso, MVP
 
Currentdb.QueryDefs.Delete "queryName"

Hope This Helps
Gerald Stanley MCSD
 
Another way:

docmd.DeleteObject acQuery,"QueryName"

Chris Nebinger
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top