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.

Loop thru Multivalued field

Featured Replies

Hello,

Is it possible to make a loop with scriptmaker that goes thru each records of a Multivalued field?

Or must I address each Multivalued field individually?

If it is possible can someone point me to an example?

Thanks for the help.

Andrew

What is it that you are trying to do, what is your desired result?

Lee

  • Author

I need to go thru my selected records, and go thru each Multivalued fields and

if the record matches some croteria, I need to create a record in another table (that is not linked).

I want to avoid to write in my main loop (in sort of pseudo code)

Loop thru record of Table A

if (Multivalued 1 = Yes)

create record Table Z

end if

if (Multivalued 2 = Yes)

create record Table Z

end if

if (Multivalued 3 = Yes)

create record Table Z

end if

if (Multivalued 4 = Yes)

create record Table Z

end if

End Loop

I would want to write:

TheMax = Get the max possible records in a Multivalued field

Loop thru Table A

for Counter from 1 to TheMax

if (Multivalued (Counter) = yes)

create record Table Z

end if

end for

End Loop

I'm a replying to your question?

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.