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.

conditional privileges

Featured Replies

Hello

I want to set conditional privileges in certain tables/forms where each user will only have access to certain records (multiple records).

I have stored the values of the accessable records in a global array for each user. However, I am not sure how to access all the values in the array in the 'custom privileges' calculation dialogue box and set the appropriate field (in this instance primary key) equal to each one separately.

I'm not sure if this is clear or not, but, if so, any ideas?

Well, sorry to say, it's not clear, at least not to me. If what you're wanting to accomplish is to limit access to records to certain suers, all of whom have the same privileges, then you'll want to use Record Level Access.

In the Privilege Set definitions under the access to tables section, set a calculation that provides the test for a user to meet. For example, a user can see on;y those records he or she created.

Steven

A warning on a different note here -- Don't use globals for this

i.e. you can have a table somewhere storing individual records for each user and then you set the global when you open the file -- but do not make the assumption that your global will retain it's value when you close a file.

I have stored the values of the accessable records in a global array for each user.

No... you didn't and I wouldn't have mentioned it if you did.

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.