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.

limiting access on a record-by-record basis

Featured Replies

I am developping an application to be used on the same PC by several users.

I want to limit the access on a record-by-record basis, so people would only have access (for editing) to the records they created.

My first idea was to proceed as follows:

1 Define a text field named Record_created_by.

2 Set the auto-entry options for that field to auto-enter the name of the record's creator (choose File menu > Define Fields, select the Record_created_by field, then select Options > Auto-Enter > the Creator Name).

3 Define a password with the Browse records access privilege limited to records that match the calculation:

Record_created_by = Status(CurrentUserName)

Now my problem: The variable "CurrentUserName" is set by default to my name (Alain). It can be changed manually in edit/preferences/application, but if another user access the database with his password, he is not asked for a login, then he will log under my name and see the records I created!

Can anyone help me?

Alain, Sao Paulo, Brazil

Give each user a different password, and assign each password a different group. Then use the status function Status (CurrentGroups) instead of the user name in your formula.

  • Author

Thanks for your help

As you can see I am a newbie, so excuse me if my question seems fool, but I don't now how to assign each password a different group in FM 6.1. It seems you can assign each file some passwords and some groups, but where can I administrate the relation between passwords and groups?

Alain

It's not very intuitive, and at the moment I can't remember without setting the whole thing up. The manual explains passwords and groups reasonably well though.

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.