G
Guest
I have inherited a database that is growing daily, and is split over a
network.
Currently 4563 records, 32 fields in tblCurrentRecords, residing on the
server.
Deciding to archive records from tblCurrentRecords to tblArchivedRecords;
.. I copied structure of tblCurrentRecords to create tblArchivedRecords,
.. created qry to append records to tblArchivedRecords from tblCurrentRecords
.. criteria used is [tblCurrentRecords ].[OutOfServiceDate] <(Date()-90)
ie 90 days old.
However, it does not append 69 records due to validation rule violations.
Why such an error when I copied structure of tblCurrentRecords to create
tblArchivedRecords?
I am assuming it is pre-existing records before my data validation and error
trapping was put in place? Any ideas?
And, if i use a delete query to remove the same records from
tblCurrentRecords to complete the archive process, I lose 69 records - the
delete query does not discriminate. I want to automate the process, eg macro
at startup daily, but will I be cautioned if Access can't append records in
the future?
network.
Currently 4563 records, 32 fields in tblCurrentRecords, residing on the
server.
Deciding to archive records from tblCurrentRecords to tblArchivedRecords;
.. I copied structure of tblCurrentRecords to create tblArchivedRecords,
.. created qry to append records to tblArchivedRecords from tblCurrentRecords
.. criteria used is [tblCurrentRecords ].[OutOfServiceDate] <(Date()-90)
ie 90 days old.
However, it does not append 69 records due to validation rule violations.
Why such an error when I copied structure of tblCurrentRecords to create
tblArchivedRecords?
I am assuming it is pre-existing records before my data validation and error
trapping was put in place? Any ideas?
And, if i use a delete query to remove the same records from
tblCurrentRecords to complete the archive process, I lose 69 records - the
delete query does not discriminate. I want to automate the process, eg macro
at startup daily, but will I be cautioned if Access can't append records in
the future?