Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a form property array
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01290063
Message ID:
01290068
Views:
16
>All,
>
>I am trying to pass a form's array property by reference.
>myform.ayparam, which is a two dimensional array
>
>the call:
>llSuccess = PXREQUERY(ALIAS(), .T., @thisform.ayParam)
>
>the function:
>function pxrequery( tuView, tlForce, taViewParams)
>exteranl array taViewParams
>
>
>on the call line, the error is 13, alias not found
>
>can I do this? and if so, what am i doing wrong
>
>TIA
>
>Al Allison

Properties cannot be passed by reference. You can either copy the array property to a variable and pass that variable, or you can change the arguments and pass the form reference and property name to the method.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform