Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a form property array
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01290063
Message ID:
01290097
Vues:
14
Thank you, Fred

>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform