Closing Queries

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to close a query when I am done with it in VBA. What's the best way
to do it.
DoCmd.Close queryname gets a type mismatch??????????????

Mike J
 
I want to close a query when I am done with it in VBA. What's the best way
to do it.
DoCmd.Close queryname gets a type mismatch??????????????

Mike J

Why not read VBA Help?
DoCmd.Close acQuery, "QueryName"
 
Two smart a...
I did read the help which is the first place go! I have the same Docmd you
sug and get the type mismatch. But thanks anyway.
 
Back
Top