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.

Need a script

Featured Replies

  • Newbies

I need a filemaker script that will allow me to seacrh a field for all duplicate numbers and then delete all the duplicates but leave one of the records.

Thank you

THIS IS THE WRONG FORUM FOR YOUR QUESTION: However,:::::

The trick here is to use a relationship to find the duplicates, so for example you have a field „Surname“ the (Self) relationship is Surname::Surname

Now create a field, “SNDCount” which is a calculation (number):

Case (Count (Surname::Surname) > 1, Count (Surname::Surname, 0)

Ok, if you place this field on your layout (just as a test) you will see how many duplicates each record has.

Now you need a script:

Set error capture (on)

Find all

Loop

Find (restore) (You need to set this up to find numbers in SNDCount larger than 0)

Exit loop if CurrentFoundCount =0

Goto record request (first)

Goto related record (only find related) Surname

Omit

Delet all records

End Loop

quote:

Originally posted by Rigsby:

THIS IS THE WRONG FORUM FOR YOUR QUESTION: However,:::::

Moved to correct forum.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.