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

I have a three file database in which users are accidently "deleting" records by not choosing the SEARCH button to do searches. To alleviate the problem, I set up access so that people cannot edit the "COMPANY NAME" field of the database (the key field in which the relationships exist) unless they created the record today (tomorrow, they can't edit it). This poses some problems like not allowing people to edit other fields of other records.

How can I allow all users to create and edit all records and fields except "COMPANY NAME" if they did not create that record?

You could make a field to store the creator name and put validate with calculation on the COMPANY NAME woth formula as Create By = Status(CurrentUserName).

Will only work by computer not by user, as create by stores only name from workstation preference unless you have custom login system maybe.

There are some architectural issues here. First, assuming the field is used as a primary key, users should not be able to access it for editing or any other purpose. And, generally speaking, it's not a good idea to use a field such as Company Name as such a key.

That said, you could restrict the access by creating a field that auto-enters the creator name. Then use a Record Level Access test that prevents deletion unless the current user name from the Status Functions matches the name auto entered in the other field.

The values for auto enter come from the FMP preferences; users can change these values unless you restrict their access to that area of the file.

HTH

Steven H. Blackwell

Partner Member, FSA

  • 2 weeks later...
  • Author

Mr. Blackwell:

Thanks for your reply. I've been trying to digest it. Perhaps we do have an architectural issue here, but I don't know how else to link key points of data other than by the "Company Name." It certainly does create a headache when a company changes names or is acquired by another.

That said, what other fields can I link other pieces of data from other files if I can't use something that changes frequently?

Matt Short

Matt, why don't you use serial number for relation?

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.