Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Thisform.aMyArray by reference
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00261669
Message ID:
00262217
Views:
19
Hi:

>PMFJI Are you trying to access the .aMyArray from a method in the same form? If so you can access it directly within the method with ThisForm.aMyArray.

Yes, but I have five arrays that need to be passed to a method to manipulate the data. However, I don't want to hard code every array name into the method.

Thanks!

--Paul

>PMFJI Are you trying to access the .aMyArray from a method in the same form? If so you can access it directly within the method with ThisForm.aMyArray.
>
>>>Paul,
>>>
>>>You either need to ACOPY() to a regular array or pass a reference to teh fomr itself to the routine and then manipulate the array property.
>>
>>Thanks Jim! I have five arrays on my form that I need to pass to a method. My best bet is to use ACOPY.
>>
>>Thanks again!
>>
>>--Paul
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform