Unfortunately, Access isn't one of them. You will need to use two statement and run them in sequence or write a stored procedure to do the delete followed by the insert.
Can this be done in one query
No, access doesn't admit multiple QL instructions.
You may consider a make table query:
SELECT ... INTO TempProjectsNotLoggedOut
FROM ...
Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
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.