P
Programmer - wannaB
What Code do I need to write something like this
If TESTDB.ldb then (or is there a better way to know if TESTDB is in use)
Delete TESTDB1.ldb (is the DB really in use or is the ldb just not closed
If TESTDB.ldb then
Open TESTDB and make TESTDB Currentdb
ELSE
CALL procedure that deletes and repopulates tables
END IF
ELSE
CALL procedure that deletes and repopulates tables
END IF
Procedure that deletes data from tables and repopulates from Master DB which
was the DB that this procedure was called form.
Delete data from list of tables (about 12, this list of tables could either
be in a table or a simple comma delimited list. Then compact the TESTDB, then
import (that seems like it might not be the right term to use here, IMPORT
makes me think of importing objects from another DB and that is NOT what I am
doing here) refill the tables with data from the MasterDB, and compact the
TESTDB again.
If TESTDB.ldb then (or is there a better way to know if TESTDB is in use)
Delete TESTDB1.ldb (is the DB really in use or is the ldb just not closed
If TESTDB.ldb then
Open TESTDB and make TESTDB Currentdb
ELSE
CALL procedure that deletes and repopulates tables
END IF
ELSE
CALL procedure that deletes and repopulates tables
END IF
Procedure that deletes data from tables and repopulates from Master DB which
was the DB that this procedure was called form.
Delete data from list of tables (about 12, this list of tables could either
be in a table or a simple comma delimited list. Then compact the TESTDB, then
import (that seems like it might not be the right term to use here, IMPORT
makes me think of importing objects from another DB and that is NOT what I am
doing here) refill the tables with data from the MasterDB, and compact the
TESTDB again.