SELECT key1,key2 FROM lookup WHERE typename="ECO-STATUS" ORDER BY key2 INTO ARRAY thisform.aStatuscodes FOR EACH scode IN thisform.aStatuscodes scode = TRIM(scode) ENDFORMy expectation was that scode would now be reflected back into the form's array property. I can see scode changing each time, but when the loop is done, the array is unchanged.