Jump 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.

Preventing records being changed accidentally

Featured Replies

Hi oh ye gurus.

In FM6, I had a handydandy little feature which prevented records from being accidentally modified. A record was "locked" (a field called locked was set to "yes" when the record was locked), and while that field was set to "yes" the record could not be edited.

If someone wanted to edit the record he would first explicitly haveto unlock the record by clicking an unlock button (field is now set to "no") and now you could edit it.

After the edit the user must again explicitly press a button to lock the record.

It is very handy to avoid accidental modifications of fields if someone for example spills his beer all over the keyboard. :)

This was simple enough as in FM6 you could in the priveleges say that you can "only modify the record under certain conditions" and in my case that condition was that the field "locked" is set to "no".

Worked like a charm.

Problem:

In FM 8.0v1 (my version) that seems to be no longer possible to tie access privileges to field conditions.

Any ideas on how to simply implement this in FM 8.0v1 on a record by record basis?

Much obliged,

the wumpus

This still can be done in pretty much teh same way as before. This can be done at either the record level or the field level by setting the rule in the Record Level Access definition of the Priviege Set or in the field validation section of Define Fields.

Also, please update your version to 8.0v3.

Steven

Create an account or sign in to comment

Important Information

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

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.