>Hi Fred,
>
>Thanks for your help.
>
>I don't know how to link my previous reply so I'll copy my message here.
>
>I experimented a bit further and oddly enough I noticed that the command
>
DO FORM OrderSelect WITH -1, laOrderIDs
>does actually pass the whole array. That’s good but I thought it didn’t work this way. Is this reliable?
Yes. Parameters are pass to DO type commands by reference by default. If you need to pass as a value, enclose the parameter in parenthesis. Parameters passed to functions are passed by value by default. That's why if you need a parameter to be by reference to a function, you need to precede it with "@".