Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array passed to form no longer an array
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00361069
Message ID:
00361114
Views:
18
>>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.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform