Mutliuser accessing DB

Ragnar78

Board Regular
Joined
Feb 10, 2004
Messages
210
Hy,

Is it possible that multiple users connect to a same access DB?
If not, is it possible to make a queing system?
Thx again...
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi RagNor78

Access is by default a multi-user database management system. I understand that up to 255 users can use a single database at a time (for SQL Server 7.0 it's 32 767 concurrent users).

Any help?

anvil19
:eek:
 
Upvote 0
Thx for the reply...

I was asking this cause, i'm creating a database that will be used as a history tool by users...so each user can use this DB to enter data.
Now this DB is on a shred folder and people might be editing it together...

I was wondering if this is possible...and if the refreshing is essential (probably other than .requery)

Thx again
 
Upvote 0
Me again

This is where the ADO cursor types come in. Access supports 4 ADO cursor types. Each one has a specific action that affects your systems resources.

The cursors are Foreward-Only, Static, Keyset and Dynamic. Foreward-Only is the simplist of all, but will only allow you to read the recodset one way and will not show any changes to the database by oher users. Static shows a copy of a set of records when the recordset was created but will not show any changes made to that set. Keyset shows all records at the time the connection is made but will show no new records. Dynamic will show all new records and removes all deleted records.

Dynamic is the most comprehensive choice but you will feel the hit your sstem takes as it continually makes changes to the recordset. Keyset will show new data added by other users, but will lock you out of deleted records.

If you wish to see data changes "on the fly" so-to-speak then the keyset cursor is for you. If you don't need to know what other people are doing then a Static cursor is fine. If you wish to see any and all changes as they happen then a Dynamic cursor is what you require.

Just be advised that if your dataset is large and you choose a client-side (the recordeset resides in your systems memory) cursor then you must choose a Static cursor, but if you choose a server-side ciursor then you can choose any of the four.

The Access help has a lot of information on cursors.

anvil19
:eek:
 
Upvote 0
To add to Anvil's comments, the typical way to set this up is to split the database. The backend will contain the data tables and live in the shared folder. The front end will contain everything else, and each user will have a copy on their machine or private drive. This way, multiple users can view and edit the data at once. Also, if you change any queries, forms or reports, you just distribute the new front end to the users and the data is left untouched.
As an additional precaution to stop users messing up the logic of queries, forms etc, the front-end can be saved as an MDE file which still allows users to log in and run any queries / forms / reports, BUT : they cannot change any code, queries, forms, report layouts. Macros are NOT protected, however.

Denis
 
Upvote 0

Forum statistics

Threads
1,221,704
Messages
6,161,390
Members
451,701
Latest member
ckrings

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top