AnsweredAssumed Answered

Can a variable be dynamically accessed?

Question asked by PaulSeabright on Jul 25, 2017
Latest reply on Jul 31, 2017 by beverly

I have a number of variables called $id1 through to $id8

 

I would like to refer to these variables in a loop and have tried various solutions, but can't find the right one!.

 

set Variable [$index; value:8]

loop

     new record/request

     set Field [SerialNumber::SerialNumber; $id(and the index number)

     }

     } LOADS MORE SET FIELD STEPS.

     }

     set Variable [$index; Value:$index - 1

     exit loop if [$index = 0]

end loop

 

Windows 7 64 bit, FMPA 15.0.3.305

 

Any help greatly received!

Outcomes