Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass an array and return array from a form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00759681
Message ID:
00759910
Views:
20
Glenn,

Seems like an easy solution.
Tks.

>Just create an object which can contain any kind or kinds of data.
>
>lo=create('relation')
>lo.addproperty('aArray(1)')
>do form test with lo
>for i = 1 to alen(lo.aArray,1)
>  xxx= lo.aArray(i)
>endfor
>
>
>
>Form::init
>lparameters toObj
>if vartype(toObj) = 'O'
>  this.oPassback = toObj
>endif
>
>
>
>Glenn
>
>>How would I pass an array to a form and then return the array to the calling form?
>>I would prefer to not use a variable that would be available after the calling form is released.
>>
>>TIA.
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Previous
Reply
Map
View

Click here to load this message in the networking platform