Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

With multiple users (Peer or Server) how does FMP deal with simultaneous writes? Does it lock records/tables? Does it throw an error?

Thanks in advance.

Posted

Bill:

FileMaker locks a record to read-only status when a user is editing it, preventing simultaneous writes of any given record. In a networked environment, any user attempting to edit a record which is being edited by another user gets a message saying that the record is currently being edited by and cannot be modified at this time.

-Stanley

Posted

FileMaker locks a record to read-only status when a user is editing it, preventing simultaneous writes of any given record. In a networked environment, any user attempting to edit a record which is being edited by another user gets a message saying that the record is currently being edited by and cannot be modified at this time.

So does the conflict get detected when the 2nd user opens a layout or when s/he attempts to save changes? Also, is this something you typically need to deal with in scripts?

Thanks for the response.

Posted

Set Field and other scripted steps that edit records can fail when the record is locked. The best way to test for record locking in FMP 7 and later is with the Open Record script step...

Set Error Capture [on]

Open Record

If [ Get( LastError ) = 0 ]

Else

End If

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