Jump to content
  • 0

Lock Record When In Use



4 answers to this question

Recommended Posts

  • 0

Hi, as far as I know, you can't lock a record while editing is in process. 


But I can recommend you to create a log report to control changes:


Also you can watch a video:http://howto.caspio.com/getting-started/create-a-one-to-many-relationship/


You can stamp time of editing http://howto.caspio.com/tech-tips-and-articles/common-customizations/stamp-the-time-url-or-ip-address-to-new-and-updated-records/  and you can take user name from authenticated fields: http://howto.caspio.com/authentications-and-connections/authentication/stamp-a-record-with-user-profile-data/


Take a look at the live version: http://www.caspio.com/contact-management/

This ready made application use this feature. 

Link to comment
Share on other sites

  • 0

A work around.



Create a Locked Record field to your table.


1. User clicks edit

2. Update Data Page with the Auto-Submit script found ->> http://forums.caspio.com/index.php/topic/4314-js-auto-submit-a-datapage

 2. a. If "Locked Record" = "Yes" then display a message and abort the edit.

 2. b. Use this to change your new Locked Record field to locked.

3. Redirect to the main edit Data Page.

 3. a . Include a hidden field that will turn the "Locked Record" back to unlocked.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...