Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do form xxx to array?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00152836
Message ID:
00152887
Views:
20
>>>Can I return an array from a form?
>>>
>>>ie do form MyForm to Marray. I tried returning an array from the form but marray is of type 'C', with the first element of the array as its value.
>>>
>>>Thanks,
>>>
>>>Paul
>>
>>You better use property-array defined in calling object.
>
>do you mean make a property on the class like aMyArray?
>
>I tried this and then I tried to use a dimension statement like dimension this.aMyArray(10,4), but I get an error that says aMyArray is not an array.

If you created property Myclass.Myarray(1) and instanciate object MyObject from MyClass, then you make reference using object name:
DIMENSION (MyUpperObject).MyObject.Myarray(5)
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform