D
David Mulholland
I'm working on a database that will be used to track the processing of
soldiers for our state for upcoming mobilizations. I've gotten alot of great
ideas and tips from these boards which have kept this DB extremely functional
and lightweight. Now I need another inspiration.
This DB will be used as a FE/BE app about 70% of the time. The remaining 30%
it will have to be used as a standalone due to the inevitability of no
network connectivity. No matter which way it's used, I'm looking at anywhere
from 2-10 concurrent users.
I have a single linked table which will be the key to this project (tblSRP).
I also have a local table (tblSRP_Temp). In the event of standalone mode, I
need a way to:
1 - test for network connectivity (recordset.count or Dir(Path)...?
2 - If no network, then rename these tables to each other's name (flip-flop)
so the user is using a local 'tblSRP'.
Along this thinking, a hidden form would reset their names on DB close. This
is so my dialog box/browse/select db code will import the 'tblSRP_Temp' then
append it to the 'tblSRP' housed in the backend. I'm wanting to keep this
transparent to the user while keeping things easy and compact.
So, in a nutshell:
- on the network, do nothing
- not on network, rename 'tblSRP' to 'tblSRP_Temp"...rename 'tblSRP_Temp' to
'tblSRP'
- on hidden form close, ensure the linked table is named 'tblSRP' and the
other is name 'tblSRP_Temp'.
Thanks for the great tips and ideas...hope you can help with this one. If
there's another way I can tackle this, I'm open to any/all ideas.
soldiers for our state for upcoming mobilizations. I've gotten alot of great
ideas and tips from these boards which have kept this DB extremely functional
and lightweight. Now I need another inspiration.
This DB will be used as a FE/BE app about 70% of the time. The remaining 30%
it will have to be used as a standalone due to the inevitability of no
network connectivity. No matter which way it's used, I'm looking at anywhere
from 2-10 concurrent users.
I have a single linked table which will be the key to this project (tblSRP).
I also have a local table (tblSRP_Temp). In the event of standalone mode, I
need a way to:
1 - test for network connectivity (recordset.count or Dir(Path)...?
2 - If no network, then rename these tables to each other's name (flip-flop)
so the user is using a local 'tblSRP'.
Along this thinking, a hidden form would reset their names on DB close. This
is so my dialog box/browse/select db code will import the 'tblSRP_Temp' then
append it to the 'tblSRP' housed in the backend. I'm wanting to keep this
transparent to the user while keeping things easy and compact.
So, in a nutshell:
- on the network, do nothing
- not on network, rename 'tblSRP' to 'tblSRP_Temp"...rename 'tblSRP_Temp' to
'tblSRP'
- on hidden form close, ensure the linked table is named 'tblSRP' and the
other is name 'tblSRP_Temp'.
Thanks for the great tips and ideas...hope you can help with this one. If
there's another way I can tackle this, I'm open to any/all ideas.