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.

Button to find same data in same field

Featured Replies

I am trying to to click data in a field and have the program automatically find all the records with the same data. Example: I have course numbers in a field called courses for every record. 123, 123, 127, 128, 129, 123, 123, 127, etc. I want to click on 123 in one record and have FM return all the records with 123 in the course field. I figure I have to create a script and attach the script with a button on the field.

Any help will be appreciated.

Thanks

I am using FMP 6 on a PC

A standard Find with "!" (no quotes) in the field will find duplicates.

  • Author

I know I can find by typing in an ! to find duplicates. I what to click on the field on s specific number and have all the numbers that are the same come up on the screen. Like clicking on a button with the number and FMP finds them for me without asking for a manual CTL FIND

Try:

Set Field [ gValue, CourseNumber ]

Enter Find Mode

Set Field [ CourseNumber, gValue ]

Perform Find [ Replace Found Set ]

where gValue is a global field of the same type as the CourseNumber field.

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.