Re: Creating a Temporary Table/RecordSet in Multi-User Database
- From: "Joan Wild" <jwild@xxxxxxxxxxxxxxxx>
- Date: Thu, 8 Jun 2006 14:42:55 -0400
Any multiuser database should be split. The 'backend' mdb (contains just
the tables/relationships) would sit on the network drive.
A copy of the 'frontend' mdb (containing all other objects) would sit on
each user's PC. The frontend would contained linked tables, linked to the
backend.
In your case, you'd have this temporary table created in the frontend.
Therefore there wouldn't be any clashes between users, as they would have
their own temporary table.
However, is this table really necessary? You should be able to accomplish
what you need using queries. Also keep in mind that when the user creates
their table in the frontend, they won't have any subsequent changes that
might have happened since they created their table.
If you are going to split the mdb, since it's secured don't use the splitter
wizard or the backend won't be secure. Instead split it manually:
http://www.jmwild.com/SplitSecure.htm
--
Joan Wild
Microsoft Access MVP
Chuck W wrote:
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.
.
- Follow-Ups:
- Prev by Date: Re: Error opening database with shortcut
- Next by Date: Re: Creating a Temporary Table/RecordSet in Multi-User Database
- Previous by thread: Re: Error opening database with shortcut
- Next by thread: Re: Creating a Temporary Table/RecordSet in Multi-User Database
- Index(es):
Relevant Pages
|
Loading