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.

Preventing Duplicates SQL Method

Featured Replies

by Matt Petrowsky

40

 minutes

The last time I covered the topic of dealing with duplicates was 2009. This was pre FileMaker 12.

The methods covered in that video still apply to today's solutions in terms of usability. However, the newer content within this video is optimized for the updated ways of doing things in FileMaker 12.

You're always able to use FileMaker's own internal logic to flag existing duplicates within a solution. This is what was being done in the previous method. Looking through a relationship and using "match criteria" was how we established all duplicates beyond the the first original record. We then used validation to cause user notification.

In this newer method of preventing duplicates, we can stop the record from ever being added. It's a very simple system.

Of course, you can always design a system which uses global fields within a dedicated table to "preempt" your actual write to the database. But this method, as well as the earlier method, requires more "cruft" being added to the Relationship Graph.

This newer method requires only a single script and some well placed script triggers.

Details: Released - 12/13/2012 / Size - 88.12 MB / Length - 40 min

View the full article

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.