>>2. I often achieve this by passing an object with properties for each of the parameters.
>
>I have done this too, and was going to switch if I couldn't get my example working.
In order for the receiving parameter to receive an array, it must be passed by reference. Object properties can not be passed by reference. Herein lies the problem. If you do as you say above and copy the array property to an array variable, pass it and then copy it back after processing, evrything should work.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao