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.

Compound key

Featured Replies

High school problem (I'm the teacher). A table contains cub no, date and badge no. Students have correctly identified compound key of cub no and badge no (e.g. 99-47 and 05). They know the key has to be unique when implemented in Filemaker pro. The problem - how to make a compound key unique. Have created a calculation field concatenating cub no and badge no but this does not allow validation checks to be applied. Have created a new field with content created by calculation much as above, and with unique validation applied - does not work as duplicate values are simpy ommited in new field.

Students MUST implement the solution using cub no and badge no - it is not acceptable to use a surrogate key, say, by creating a unique field with values such as 99-4705 entered directly.

Any solutions greatly received.

Have created a new field with content created by calculation much as above, and with unique validation applied - does not work as duplicate values are simpy ommited in new field.

Huh? What do you mean omitted? How do they get omitted? That doesn't seem right, and the method should work, see the demo in this thread.

BTW, compound keys are no longer necessary in version 7, although you do need to create the calc if you want to validate uniqueness.

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.