A
Andra
hallo
I have the following task:
Two Access databases with similar structure. The second database is for
archiving records from the first database. I should make the interface for
archiving process.
There is a third party application that actually uses the database (and
should be able to use the archive database, too).
Till now I have made two tools for the database: in both cases it is an
Access application (mdb file), with linked tables from the working database,
and the form with a code performing a task: in first case it makes changes
to the database records, in second case it allows to choose records
according to some parameter and generates reports in text files. The code
uses recordsets and sql statements.
If I follow the same way now I make a new Access application, link tables
from both databases, make a form to choose criterion, and ...what? I'm not
sure it is sp easy to remove some records from one table, then append to
another table, and what's more - for some records it is more complicated
because I should go through one table, take one field, according to that
field search another table for all records that correspond to that field,
remove them and copy to the archive, and then remove the field in the first
table.
Maybe there is a simpler way? I'm not much advanced in Access programming.
please help
I have the following task:
Two Access databases with similar structure. The second database is for
archiving records from the first database. I should make the interface for
archiving process.
There is a third party application that actually uses the database (and
should be able to use the archive database, too).
Till now I have made two tools for the database: in both cases it is an
Access application (mdb file), with linked tables from the working database,
and the form with a code performing a task: in first case it makes changes
to the database records, in second case it allows to choose records
according to some parameter and generates reports in text files. The code
uses recordsets and sql statements.
If I follow the same way now I make a new Access application, link tables
from both databases, make a form to choose criterion, and ...what? I'm not
sure it is sp easy to remove some records from one table, then append to
another table, and what's more - for some records it is more complicated
because I should go through one table, take one field, according to that
field search another table for all records that correspond to that field,
remove them and copy to the archive, and then remove the field in the first
table.
Maybe there is a simpler way? I'm not much advanced in Access programming.
please help