Restrict concurrent access to forms?

RPrasad

Board Regular
Joined
Mar 22, 2008
Messages
144
Hi,
I have Access DB with basic user login form, which looks up the user name from table stored within DB and allow the users to login. Also DB is split as Front end on users desktops and backend on network.
There are 4 forms and 8 users for the DB. Now the request is to restrict the access of forms to only one person at a time, two people should not be allowed to open the same form concurrently.
Example: If user A had opend the form and working on that, when the User B try to open the same form it should give the message that "User A is working on form, try later"
Is it possible to do this? Please help me.
 

Some videos you may like

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Will_B

Board Regular
Joined
Mar 4, 2009
Messages
79
If the end result of what you want to do is to prevent anyone from working with the same TABLE at one time, you need to set the record locking properties. See this article on Microsoft.com: http://office.microsoft.com/en-us/access/HP052408601033.aspx

The pertinent section:
All Records Microsoft Access locks all records in the form or datasheet (and underlying tables) you're editing for the entire time you have it open, so no one else can edit or lock the records. This strategy is very restrictive, so choose it only when you know you're the only person who needs to edit records at any one time.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,672
Messages
5,597,488
Members
414,146
Latest member
marginmakerb

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
Top