H
Hafeez Esmail
Old Status:
I have one database containing two tables ("tblCurrent"
and "tblPrevious"), some queries (including one Make-table
query) an AutoExec macro and some code.
The AutoExec macro is setup to run one query, some code,
and then close the database.
The first thing that's done is "tblCurrent" is updated
using the Make-Table query.
Then, some code (that makes comparions between the two
tables) is executed but before the database is
closed, "tblPrevious" is deleted and a copy
of "tblCurrent" is made as saved as "tblPrevious" (so the
next time around the 'current' will be updated and
the 'previous' will be the previous).
New Status
I kept this database as a 'backend'(BE) and have a
few 'frontend'(FE) databases (with linked tables)
accessing it.
Question:
Right now, from the FE DB, I'm deleting the BE tblCurrent
and then running the BE Make-Table Query. This seems to
be working for tblCurrent but is there a flaw in this way
or a better way?
How do I update my tblPrevious?
A separate issue:
From a FE DB, how do I delete all the records in a table
in a BE DB?
I have one database containing two tables ("tblCurrent"
and "tblPrevious"), some queries (including one Make-table
query) an AutoExec macro and some code.
The AutoExec macro is setup to run one query, some code,
and then close the database.
The first thing that's done is "tblCurrent" is updated
using the Make-Table query.
Then, some code (that makes comparions between the two
tables) is executed but before the database is
closed, "tblPrevious" is deleted and a copy
of "tblCurrent" is made as saved as "tblPrevious" (so the
next time around the 'current' will be updated and
the 'previous' will be the previous).
New Status
I kept this database as a 'backend'(BE) and have a
few 'frontend'(FE) databases (with linked tables)
accessing it.
Question:
Right now, from the FE DB, I'm deleting the BE tblCurrent
and then running the BE Make-Table Query. This seems to
be working for tblCurrent but is there a flaw in this way
or a better way?
How do I update my tblPrevious?
A separate issue:
From a FE DB, how do I delete all the records in a table
in a BE DB?