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.

Accounts & Privileges

Featured Replies

  • Newbies

FileMaker Pro 7 - Client has been set up to access and edit only certain assigned accounts. When the client opens the DB, all records load including the ones with 'no access'. How do you have records with no access keep from loading? Is there a special script needed? Also, the client can not use 'Find" - it is deactivated, can't locate this in accounts & privileges settings. Thanks for any help.

You'll have to use a startup script that will create a found set to which the user has access.

I usually do this using a go to related records script step where the relationship uses the user's account name. You could also show the available records in a portal, and allow the user to click the rows to show a detail record.

Your users probably can't use the find command because you have disabled menu items in the privilege set. You can still create a find script attached to a button if you don't want to grant access to menu commands.

[Expanding on what Reed said.]

There are a 2 basic methods to get them to their records, Go To Related Records and Find, each with variations, especially the GTRR:

1. Go To Related Records, using a relationship from an Unstored calculation, with Get (AccountName) to a regular text field with their account name in it (auto-entered at creation, the last option at the bottom of the auto-enter list).

a. This works well from another table where there is NOT record-level restrictions. It doesn't work so well from one where there is. Because if the file/table opens on a record where they do not have access, the Get (AccountName) calculation and/or relationship field cannot evaluate.

b. What you can do, run in only one table, is run the script with Full Access Privileges. Then it can evaluate; Get (AccountName) still evaluates correctly (at least in 7.0v3).

There is a glitch with this however. Which is that the Full Access Account usually does NOT have any particular records assigned to it. The Full Access privileges are running (because of the checkbox), so you cannot easily "bypass" the developer account. What works is to test for the full access bypass in a script without the Full Access checkbox, then call the other (b.) as a subscript.

2. Find Methods

a. Enter Find Mode, set Get (AccountName) into the text field. Find. Simple.

b. A similar method is that ANY Find automatically filters out their <> records. So if you just do a Find for 1 in a Constant=1 field it will do the same as "a."

It does not therefore require that the records have record-level access by their account name in a field. But obviously you'd need some field to use. The above "b." doesn't care what it is.

Either of the methods should have Allow User Abort [Off] and must deal with failure, usually by not allowing access to the table.

What Fenton Just mentioned is the same issue I ran into, except that I was unable to use "run script with full access" because I am using kiosk mode on the file to limit users' access to the computer. I've found that using that option will kick you out of kiosk mode. So I allowed view access to all records anyway, just controlling create, edit and delete privs. Since it's kiosk mode though, users can really only do what you allow them to do with buttons anyway...

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.