wattmhite Posted October 5, 2017 Posted October 5, 2017 Is there a script to detect when other users are currently in a particular layout? I have a layout I use to bind accounts but I only want one user at a time to be able to access that layout. When the first person leaves the layout then another person can enter. Can this be done? Thanks
doughemi Posted October 5, 2017 Posted October 5, 2017 Turn on error capture and test for error 304 - Layout is in use by another user?
Fitch Posted October 5, 2017 Posted October 5, 2017 2 hours ago, doughemi said: Turn on error capture and test for error 304 - Layout is in use by another user? That error has to do with a user modifying the layout, in Layout Mode. Here I think the goal is to control access while in Browse Mode. There are various ways you might do it. But there's no function to know if a user is on a layout. There's a function to tell you if a user is in a record, though. Maybe that would help? You might also make use of script triggers (OnLayoutEnter, OnLayoutExit). Or do something with access privileges. Depends on your data design and your workflow. I'm afraid I don't know what "bind accounts" means.
Recommended Posts
This topic is 2617 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now