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.

How to find Distinct values

Featured Replies

Well I searched and searched and could not find any posts about this.

I want to do a search and return only unique values, even if there are duplicates.

I know how to do this in SQL, but how do I transfer that to Filemaker.

SELECT distinct column_name

FROM table_name

Thanks,

Paul

Check out ColbaltSky's web site: http://www.nightwing.com.au/FileMaker/demos5.html, look for Finding only one of each record when there are duplicates!

Here's the blurb:

Omitting duplicate records is something that is frequently required, but the best known technique involves a script which marks records then omits them - and that can produce unpredictable results in multi-user mode (eg if more than one user is running the script at once).

This sample technique file shows a method by which duplicate (second or subsequent) copies of a record can be omitted by script without any record marking, based on the contents of a field. In the demo implementation, the field which will be checked for duplicates can be selected. Of course - with the addition of a couple of steps - the demonstrated technique can also be used to locate and remove any duplicate entries!

Version: v7.x

Platform: Mac OS X Panther

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.