Jump to content
Server Maintenance This Week. ×

If another user is in a layout?


This topic is 2394 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 2394 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.