When running query from the query menu, it is fine with creating the table when the table does not exist, but when I run it from a DoCmd.OpenQuery it always needs the table to exist. Is there a way around this?
Well, this Maketable query is attached to a form that I have made. When I run the query independantly it will make a table that is not yet in existence (a table I have programmed it to make). But when the query is run from this form (using a DoCmd.OpenQuery statement) the table (whether blank or full) has to be in existence otherwise I get an "Error-This table does not exist" debugging statement. The reason I would like to make tables that do not exist instead of over-writing tables over and over again is because each time I do this there is a window that comes up asking if I would like to delete the existing table (to which the answer will always be yes).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.