Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6039 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

hello

i need some help/assistance to retrieve values in a value list. i know i can use valuelistitems function to get all the values at once. but what i want to do is to get 1 item at a time [using a loop] n then add it to a filed in a table. then get the 2nd item and add it to another field in a 2nd table and so on. for now i have around 50 items in the list and want to get each item individually and then add it to approperiate field in a table. [all this through a loop to add items to corresponding fields in different tables]

thanx in advance for the help.

Posted

Set Variable[$list; ValueListItems(Get(FileName); "ValueListName")

Set variable[$end; ValueCount($list)]

Loop

Set Variable[$counter; $counter +1]

New Record/Request

Set Field[ fieldName; GetValue($list;$counter)]

Exit Loop If[$counter = $end]

End Loop

This topic is 6039 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.