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.

Find Script Help

Featured Replies

Hi, new to scripting for FM so rather confused about this.

I was wondering if anyone can show me a script that can go to a specific field and do a find for all the records with 014 in that field. Then for the the field that contains 014 (Note: This is only for this one class that contains 014, there are other fields with 014 which I want to keep) I want to go to another field and copy that information within that field and then go to another field and replace it with the copied information.

Here's what I THINK it should be:

Show All Records

Go to Field [" ARCH 217 Quarter"]

Loop

If [" Arch 217 Quarter = 014"]

Go to Field [" Arch 217 Grades"]

Copy [select]

Go to Field [" Arch 317 Grades"]

Pase [select]

End if

End Loop

Look FileMaker help about the Perform Find script step. It will do what cha wanna do with less.

If I understand what you want to do, Find all records with "014" in the field "Arch 217 Quarter" and in those records replace the contents of "Arch 317 Grades" with the contents of "Arch 217 Grades", this script should work.

Enter Browse Mode

Perform Find [ Request 1: Arch 217 Quarter 014 ]

[ Restore find requests ]

Replace [ Arch 317 Grades, Replace data:Calculation: , Arch 217 Grades ]

  • Author

Woot Thanks Bob! That was exactly what I wanted.

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.