G
Guest
I have a secure database on a network drive with user access control, etc.
There is some VBA code which uses a temporary table (dbOpenTable) which is
populated with a unique set of records which the user then works with that
data, generates reports and such.
The problem is that when another user logs in and does the same thing, it
overwrites the table so the first user is suddenly using the new user's data,
not their data. There are many many queries built off this table so I really
need to find a way to either (a) create a unique copy of this table for each
user while magically usign the same table name so I don't have to change all
my existing queries or (b) make the database exclusive.
It appears that exclusivity is set by each user. If I set the Advanced
Option Default Open Mode to Exclusive, it doesn't consistenly prevent others
from using it. I set it to exclusive on my machine but another user could get
in and their option was set to Shared. I really can't go to each user and set
their option to Exclusive.
There is some VBA code which uses a temporary table (dbOpenTable) which is
populated with a unique set of records which the user then works with that
data, generates reports and such.
The problem is that when another user logs in and does the same thing, it
overwrites the table so the first user is suddenly using the new user's data,
not their data. There are many many queries built off this table so I really
need to find a way to either (a) create a unique copy of this table for each
user while magically usign the same table name so I don't have to change all
my existing queries or (b) make the database exclusive.
It appears that exclusivity is set by each user. If I set the Advanced
Option Default Open Mode to Exclusive, it doesn't consistenly prevent others
from using it. I set it to exclusive on my machine but another user could get
in and their option was set to Shared. I really can't go to each user and set
their option to Exclusive.