Skip 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.

allow only one per id (validation)?

Featured Replies

I've tried several things that I could think of but with no luck. I'm turning to you good people for some help.

Here in my example I have 2 tables Contacts and Contact Details. Each contact can have many ways to be contacted but I want them to only have one main contact. How can I keep people from having more than one?

I tried to validate by a calculation but no calculation I made would work. If you have any suggestion they are greatly appreciated.

one_main.fp7.zip

Attached is what I came up with using:

- a seperate table for storing the Maincheck

- 2 new table occurences.

- a button to run a script under the checkbox

z_one_main_rev.zip

  • Author

Thank you very much. That works.

I'm still trying to understand the logic but you found a solution to my problem.

thanks again.

  • Author

thank you too.

i always find it intesting how different people find a way to resolve the same problem.

I've learned from both of you and that is appreciated.

the cMainCheck = Detail_ID = Contacts::MainDetailID through me for a loop until I realized it was a true/false result. Thanks for that simple sample.

When adding a new record the checkbox will not show as checked until I click outside the portal. Does this happen to anyone else or just me?

The calculation will not evaluate on a non-committed record. Try it this way.

one_main.fp7.zip

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.