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.

Script to Copy info only from 1st record of each group of records

Featured Replies

I have a situation where I find many records and they are grouped by salesperson name. I want to copy information from the first record only of each salesperson to another table.

I have set up a script to work through the fields and loop until all the records are processed but I can not figure out how to skip records in a script. I tried setting a variable based on the salesperson name and then compare that variable but the syntax of how to manage this is not connecting in my brain.

Any pushes in the right direction are appreciated.

What makes a record the "first" record. Date, $, etc.?

You could create another layout with a different TO that was sorted by your criteria: Date or whatever. If you perform single record functions on this TO then FM will use the first record it finds.

  • Author

Yes by date.

what does TO stand for?

Table occurrence - another instance of a table in your relationship graph.

in FM parlance. ???

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.