Apr 6, 2001 #1 EscapeUK Programmer Jul 7, 2000 438 GB How do I in code delete a query called qry1 delete another query called qry2 delete yet another query called qry3 However is is possible that they might not exist. so what i need to do is search for the qry if it exists delete it if not do nothing ta
How do I in code delete a query called qry1 delete another query called qry2 delete yet another query called qry3 However is is possible that they might not exist. so what i need to do is search for the qry if it exists delete it if not do nothing ta
Apr 6, 2001 2 #2 Rohdem Programmer Sep 20, 2000 553 US Check out this FAQ to see if an object exists: faq181-36 to delete an object, use DoCmd.DeleteObject acQuery, "queryname" Mike Rohde rohdem@marshallengines.com Upvote 0 Downvote
Check out this FAQ to see if an object exists: faq181-36 to delete an object, use DoCmd.DeleteObject acQuery, "queryname" Mike Rohde rohdem@marshallengines.com
Apr 6, 2001 #3 Quehay Programmer Feb 6, 2000 804 US Thanks Rohdem--you may have answered a question I just posted above. Jeff Upvote 0 Downvote