J
John Thow
Hi,
Whilst I fundamentally dislike having more than one copy of a DB, I'm in a
situation where I need to. Currently, I'm doing it by having 2 copies of
Access running and copying and pasting the relevant bits from one to the
other. This makes me rather nervous, in case I end up copying from the
'slave' DB to the 'master', so I'd really like to find a way to automate the
process. Unfortunately, I know almost zilch about Access VBA - although I'm
fairly comfortable with Excel / Word VBA.
Q1: Can This process be automated at all? (In Access 97)
Q2: If it can, these are the things that need to be done:-
In the 'master' DB,
a) copy 3 tables, lets just call them A, B & C;
b) Run a query that selects whole records from table D where
these are 'Current'.
In the 'slave' DB,
a) remove all joins;
b) empty all tables;
c) paste the copies from the 'master' to A, B, C, & D:
d) rebuild the joins.
[Fairly obviously, processes (a) and (b) on the 'slave' have to be done first.
Then the 4 copy and pastes done one at a time, followed by process (d) on the
slave. ]
Some guidance would be much appreciated.
TIA
--
John Thow
an optimist is a guy/ that has never had/ much experience -
certain maxims of archie; Don Marquis.
To e-mail me, replace the DOTs in the Reply-To: address with dots!
Whilst I fundamentally dislike having more than one copy of a DB, I'm in a
situation where I need to. Currently, I'm doing it by having 2 copies of
Access running and copying and pasting the relevant bits from one to the
other. This makes me rather nervous, in case I end up copying from the
'slave' DB to the 'master', so I'd really like to find a way to automate the
process. Unfortunately, I know almost zilch about Access VBA - although I'm
fairly comfortable with Excel / Word VBA.
Q1: Can This process be automated at all? (In Access 97)
Q2: If it can, these are the things that need to be done:-
In the 'master' DB,
a) copy 3 tables, lets just call them A, B & C;
b) Run a query that selects whole records from table D where
these are 'Current'.
In the 'slave' DB,
a) remove all joins;
b) empty all tables;
c) paste the copies from the 'master' to A, B, C, & D:
d) rebuild the joins.
[Fairly obviously, processes (a) and (b) on the 'slave' have to be done first.
Then the 4 copy and pastes done one at a time, followed by process (d) on the
slave. ]
Some guidance would be much appreciated.
TIA
--
John Thow
an optimist is a guy/ that has never had/ much experience -
certain maxims of archie; Don Marquis.
To e-mail me, replace the DOTs in the Reply-To: address with dots!