C
chris
Hi,
I have a split mdb application that has all the functionality in one
MDB and all the data in another. The application can run with the data
either self-contained on a user's computer, or with limited sharing
across a network. There is already functional code to manage relinking
the tables using ADO depending on the availability of the databases.
If they are set in network mode but their network is unavailable then
the application will fall-back to a local copy.
Although these checks are done as the first thing, in testing the
application performs very slowly. If we rename the network database it
falls back gracefully and quickly, but if we ust disable the network
connection there is a very long pause. Presumably this is as Access is
trying to get to the network database but cannot, so we have to wait
for a timeout. The wait is not acceptable, so I'm looking for
potential solutions.
Is there a way to stop Access looking for linked tables when it first
starts up, or at least delaying it until I have verified the links are
correct? Would Access normal verify linked tables before it starts the
execution of my application? I have to admit that I'm the latest in a
number of developers on this one, and although I've ironed it out
pretty flat there's still the odd surprise.
If that is not the case, would we have to leave the application in a
"guaranteed working" state (i.e. remove all the links / relink to the
local copy) when it shuts down? This isn't a difficult proposition,
but could cause problems if the application/computer doesn't shut down
properly.
If anyone can shed any light or has any good ideas please feel free.
I'm open to your suggestions. Thanks in advance!
Chris.
I have a split mdb application that has all the functionality in one
MDB and all the data in another. The application can run with the data
either self-contained on a user's computer, or with limited sharing
across a network. There is already functional code to manage relinking
the tables using ADO depending on the availability of the databases.
If they are set in network mode but their network is unavailable then
the application will fall-back to a local copy.
Although these checks are done as the first thing, in testing the
application performs very slowly. If we rename the network database it
falls back gracefully and quickly, but if we ust disable the network
connection there is a very long pause. Presumably this is as Access is
trying to get to the network database but cannot, so we have to wait
for a timeout. The wait is not acceptable, so I'm looking for
potential solutions.
Is there a way to stop Access looking for linked tables when it first
starts up, or at least delaying it until I have verified the links are
correct? Would Access normal verify linked tables before it starts the
execution of my application? I have to admit that I'm the latest in a
number of developers on this one, and although I've ironed it out
pretty flat there's still the odd surprise.
If that is not the case, would we have to leave the application in a
"guaranteed working" state (i.e. remove all the links / relink to the
local copy) when it shuts down? This isn't a difficult proposition,
but could cause problems if the application/computer doesn't shut down
properly.
If anyone can shed any light or has any good ideas please feel free.
I'm open to your suggestions. Thanks in advance!
Chris.