S
sTeve
I have an application that was upgraded from Access97 to 2002. It's a
linked app, the forms and tables are in seperate mdb files.
Each user has their own copy of the forms mdb on their local hard
drive.
There is a third mdb that contains common reports. In access 97, I've
written some vba code that does a docmd.transferdatabase to bring the
report into the user's forms mdb, run the report, then delete it.
That way, if the report is updated, they always run the most recent
copy.
The Transferdatabase and DeleteObject commands no longer work in 2002
if the application is opened via shortcut. They do work if the
application is opened by double clicking the forms.mdb file (ie,
opening the file exclusively).
I've tried modifying the tools --> options to open the db exclusively
by default, as well as modifying the shortcut with the /excl parameter
with no avail.
I've also read previous posts going back to 2000 about this problem.
Has anybody figured out what is going on and if there is a workaround
yet? Is there a way of programatically checking for another user and
then exclusively locking the mdb?
thank you,
Steve Shapiro
University of Oregon
linked app, the forms and tables are in seperate mdb files.
Each user has their own copy of the forms mdb on their local hard
drive.
There is a third mdb that contains common reports. In access 97, I've
written some vba code that does a docmd.transferdatabase to bring the
report into the user's forms mdb, run the report, then delete it.
That way, if the report is updated, they always run the most recent
copy.
The Transferdatabase and DeleteObject commands no longer work in 2002
if the application is opened via shortcut. They do work if the
application is opened by double clicking the forms.mdb file (ie,
opening the file exclusively).
I've tried modifying the tools --> options to open the db exclusively
by default, as well as modifying the shortcut with the /excl parameter
with no avail.
I've also read previous posts going back to 2000 about this problem.
Has anybody figured out what is going on and if there is a workaround
yet? Is there a way of programatically checking for another user and
then exclusively locking the mdb?
thank you,
Steve Shapiro
University of Oregon