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.

Help! Repeat script for all records?

Featured Replies

Hello.

I would be grateful if someone could please help me....

I have a database called "Users.fp5" and in ScriptMaker I have a script called "TimeIn", which only works for the current record.

How do I use ScriptMaker to repeat that script for all the records in my database?

Is there some way of saying "perform script for all records"?

Thank you for all your help!

Depending on what exactly you are doing, you can either use the replace command to set the value of a field in all records at once with the result of a calculation, or you can put a loop in your script. The loop is more general so that's what I'll describe. The script steps are as follows:

code:


Go to Record/Request[first]

Loop

# Put your existing script steps

# that operate on the current record here

.

.

.

# Now go to the next record and repeat

Go to Record/Request[next][exit after last]

End loop


  • 2 weeks later...

Whether you use the "Replace" command or the loop, make sure you have "Find All" script step before the "Replace" or "Loop"; otherwise, you will only perform the actions on the current found set.

Good Luck

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.