Jump to content
Server Maintenance This Week. ×

Lock a entire record with a script


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

Recommended Posts

It would appear from your last post that there are only two views of a record - the new record entry view and the existing record data view.

Rather than 'lock' the records by script, why not just use the script to direct the user who wishes to view a record to a layout where the fields are not editable.

Phil

Link to comment
Share on other sites

ah!

ok if we're going for a create then lock thats simple!

2 layouts

1 for creation / editing

1 for viewing.

layouts -> duplicate

then select all fields and change 'behaviour', untick the 'enter in browse mode box'

this will prevent editing on this layout, but you can still go to your create / edit page to do, well... what it says on the tin, create & edit.

that what you were after?

if your still not clear say so + ill do screenshots.

Link to comment
Share on other sites

Hi again!

We still with the same problem!

My database, is a db with 6 differents layouts, where we put information about samples. Some of that layouts have the same information, and they are to print like a document. So, when we receive a sample, one of us made a new record, where we put the information about that sample. After that, we need to introduce data in that record 3 or 4 times. It is the moment i need to lock the record to prevent acidental changes. Thats my big problem!

Thanks again in advance for any help, and sorry my confuse english!

Link to comment
Share on other sites

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