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.

Featured Replies

Looking for a way to make it so that each of my users sees only their own records when logging in. As it is now, when users add a record, all other users can see it.

Is there a way to do that?

46 minutes ago, kathrynfw said:

Is there a way to do that?

Sure. But first you must have a way to identify the record "owner". If you haven't already done so, add a CreatedBy text field to your table and make it auto-enter Creation[Account Name]. Then adjust your users' privilege set so that they can view records in this table only when:

CreatedBy = Get ( AccountName )

Note that any find performed in the table will automatically omit records to which the current user has no access. You can also use custom menus to prevent users from calling Show All Records. Note that this is a purely cosmetic measure: even if they do, they will only get a bunch of records with << No Access>> plastered over them.

  • Author

Ok, I did that, but when I open up under other usernames, I still see the files, even though Createdby is properly attributed. Is there a script to set that? Sorry to be so dense. Finding my way with this.

 

Edited by kathrynfw

1 hour ago, kathrynfw said:

Ok, I did that, but when I open up under other usernames, I still see the files, even though Createdby is properly attributed.

Does this work for you?

UserRecordsOnly.fp7

  • Author

Oh! I don't know. It will not open for me. Is it because I have FMP14?

 

Open it (or rather convert it) using File > Open… from the menu.

  • Author

Thank you! I got it open, and I see your scripts. I will have to play with it to see if I can figure out how to set it up. Thanks so much!

 

 

  • 1 month later...

I have a similar question -- I have a database of Students who will each have a record set up an administrator along with an Account they use to access the database.   Would the best approach be to set up a field in the Students table called "LOGIN ID" and use that as for the boolean test allowing access to only that record?   (Keeping that field accessible only to the admin). --  Or is there another cleverer technique for this?

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.