Jump to content

Locking records


peronn

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

Recommended Posts

Don't know if this is the right location but i tought it was the most suitable i could find.

Well, i am wondering if there is a way to set "locks" on records? I've worked with forexample MS Sql Server where you can set read and commit locking. The problem is that i have a multi-user solution and it turns out that two user can infact change the same value in a record. Which can lead to falty data if the change it at the same time. I have however noticed that FM locks a field sometimes but have not been able to figure out when that is.

Is there a way to secure a records so that as soon as a user enters a field on one layout, no one else can change that record?

Thanks for reading.

Link to comment
Share on other sites

s there a way to secure a records so that as soon as a user enters a field on one layout, no one else can change that record?

Yes issue a scripted Open Record/Request command, placing the cursor in a field isn't enough. Another way is to use Insert(calculated result) in a field, such as setting it's own value.

--sd

Edited by Guest
Link to comment
Share on other sites

  • 2 weeks later...

This topic is 6667 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.