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.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
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.
 
Upvote 0

Forum statistics

Threads
1,215,035
Messages
6,122,785
Members
449,095
Latest member
m_smith_solihull

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