AnsweredAssumed Answered

Setting a $variable array to a list of strings

Question asked by NicholasFernandez on Dec 18, 2013
Latest reply on Dec 18, 2013 by NicholasFernandez

Title

Setting a $variable array to a list of strings

Post

     Hi,

     I want to initialize a $variable array from a predetermined list of strings so that I can use a loop to search for each string and then replace a field in the found records with a value from a second variable array. I have been able to create arrays by having FileMaker pull the values from fields, but what if I want to pass in a separate set of values that will not already exist in the database?

     (for example: $myArray = "one", "two", "cat", "dog")

     and using another table to store the array is not an option. 

     Thanks for your help!

     Nick

Outcomes