AnsweredAssumed Answered

Dynamically retrieving values from fields

Question asked by JFJoyal on May 16, 2013
Latest reply on May 16, 2013 by JFJoyal

Title

Dynamically retrieving values from fields

Post

     Hello; I have a set of fields named "field1 .... field147" and I want to retrieve their value dynamically. I'm able to create the variables dynamically, I used the followiing example that I found very helpful :

     http://www.supportgroup.com/explore/dynamically-naming-a-variable/

     However when it comes to getting the actual value in the fields I get the text string instead of that actual value ex. Imports:field & $n  gives me Imports:field1,Imports:field2 and so on as the script loops. I'm sure it just a syntax issue but I've been turning in circles trying to get this to work, any ideas. If this senario could work, it would save me the hassle of writing 147 Set Variable statements. Thank you.

Outcomes