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.

Featured Replies

Is there a way to script the creation of a specific number of new records without using a loop?

Why the resistance to a loop?

If you want to make 5 new records, put 5 New Record script steps in the script.

  • Author

It's not resistance to the loop function, I just wanted to know if there was an alternate way to do this.

The number of new records is not a fixed amount and will require additional steps to figure the number of records to create.

Basically, I need to create the same number of new records in one table as there are in a found set of another table.

Uhmmm I guess you could try and do an import with empty records but you could still perform the loop with what you want to do.

Store the count of the found set into a variable.

Set Variable [ $i = Get(FoundCount) ]

If [$i]

Go to layout ["Other table's layout"]

Loop

  Set Variable [ $j = $j + 1 ]

  New Record /Request

  Exit Loop If [ $i = $k ]

End Loop

End If

I can't think of another way than a loop.

  • Author

Thanks for the example. This is exactly what i am trying to do except when I perform the import it pulls in all of the records not just the found set. I can't figure out why.

Imports will only bring over the found set.

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.