M
MJ
Can someone help me with this, I am drawing a blank this morning?
BACKGROUND: My predecessor had a very simple (yet powerful "delete *")
query set to act after the archive process but for some silly reason it fails
to work when placed in the VB code, but works fine when executed manually.
PROBLEM: I have a table that collects data everyday and I need to purge the
data from the previous month out after that data has been copied to an
archive file. Each record contains a field called "Comment_Date" that
contains the date it was added to the table. I want to delete all records
with a "Comment_Date" in the previous month and leave any record from the
CURRENT month. This way I can get away from the all powerful "delete *" and
the potential risk of loosing current data if executed at the wrong time.
Thank you in advance for your time and assistance.
BACKGROUND: My predecessor had a very simple (yet powerful "delete *")
query set to act after the archive process but for some silly reason it fails
to work when placed in the VB code, but works fine when executed manually.
PROBLEM: I have a table that collects data everyday and I need to purge the
data from the previous month out after that data has been copied to an
archive file. Each record contains a field called "Comment_Date" that
contains the date it was added to the table. I want to delete all records
with a "Comment_Date" in the previous month and leave any record from the
CURRENT month. This way I can get away from the all powerful "delete *" and
the potential risk of loosing current data if executed at the wrong time.
Thank you in advance for your time and assistance.