This line gives a syntax error, obviously because an array does not work in merge?
put merge("SELECT [[tColumns]] FROM '[[tTable]]' [[myArray["test"]]] [[tSortOrder]]") into tSQL
Is there a way around this or do I have to resort to using &?
All the best
Terry