M
Michelle
I have a form and when the user clicks the exit button I want it to run the
following code....one is an append query and the other is a delete query.
Here is the code
Append Query.....
INSERT INTO tblESSOld ( ESSID, IN_INMNUM, SEP, EXERCISE, SHOWER, [YARD #],
RAZOR, SCREAM, MIRROR, [DATE] )
SELECT tblESSLog.ESSID, tblESSLog.IN_INMNUM, tblESSLog.SEP,
tblESSLog.EXERCISE, tblESSLog.SHOWER, tblESSLog.[YARD #], tblESSLog.RAZOR,
tblESSLog.SCREAM, tblESSLog.MIRROR, tblESSLog.DATE
FROM tblESSLog;
Delete Qury...
DELETE tblESSLog.*
FROM tblESSLog;
Could the delete and append be make into one statemen...was not sure about
that....also after it runs the two quieries I want it to close the form.
following code....one is an append query and the other is a delete query.
Here is the code
Append Query.....
INSERT INTO tblESSOld ( ESSID, IN_INMNUM, SEP, EXERCISE, SHOWER, [YARD #],
RAZOR, SCREAM, MIRROR, [DATE] )
SELECT tblESSLog.ESSID, tblESSLog.IN_INMNUM, tblESSLog.SEP,
tblESSLog.EXERCISE, tblESSLog.SHOWER, tblESSLog.[YARD #], tblESSLog.RAZOR,
tblESSLog.SCREAM, tblESSLog.MIRROR, tblESSLog.DATE
FROM tblESSLog;
Delete Qury...
DELETE tblESSLog.*
FROM tblESSLog;
Could the delete and append be make into one statemen...was not sure about
that....also after it runs the two quieries I want it to close the form.