Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Locking down a single record using a script

Featured Replies

Hey folks

So I've got this database, that has a layout on which there are fields, portals and related records... each record shown through this layout (an instance,if you like) is a Long Term Teaching plan... once teachers have filled out the plan (or the record/instance) I want them to be able to lock that record so they don't accidently trip a value list or other such thing.

(i'm aware that such a question has no doubt been posted before, but the search function on this site seems to be so date biased... so forgive me)

Basically I have a dynamic container that the user clicks - it activiates the lock script, and shows them a lovely little picture of a padlock. :-)

Want I want the script to do is...

1. Prevent the user from entering any field on that layout (but only for that record)

Any thoughts...

Andy

****************

Oh those Brumbies - did you see that... 5 tries in the first 20 minutes... oh my god!!!!!!

Hi Andy,

You could use row-level privileges that made the record read-only for everyone if a special "lockField" wasn't empty. Trying to edit would give an immediate dialog, and you could still script an unlock just by clearing the lockField.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.