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 a Record if Field is set to 1

Featured Replies

How can I lock a record if Field "Audit" is set to 1?

Thanks

You Can have list of records with "closed" fields and "edit" button before. Fore this button creat script which sends you to form of current record, where you can edit this record.

Different ways of doing this:

- you can use a validation calc on each field in the record that should be locked

- or in the privilege sets in your file you can set custom access rights to disallow editing when the audit field is 1

  • Author

What would the calculation be?

Thanks

  • 2 weeks later...
  • Author

I am using FM8 and cannot find where I can set the File Privileges to lock a record if a certain field is set to one.

Follow these menus. Steps in [ ] are actions for you to do.

File --> Define Accts & Privileges --> Privilege Sets --> [Choose the privilege set] --> Records --> Custom Record Privileges --> [Choose the table] --> Edit --> Limited --> [Put in calculation here. Case (audit<>1; 0; 1)]

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.