Information générale
Titre:
Passing an array to a form saved as a class
I can dimension an array and pass it to a form using the command:
DO FORM arraytest WITH myArray
The PARAMETERS statement in arraytest.INIT event is:
PARAMETERS incomming
I can then assign the array to an array property in my form.
This approach works well. However, having saved the same form as a class, when I issue the command:
frmTest = CREATEOBJECT("arraytest","myArray")
and upon trying to assign the array to the array property, the response is: "INCOMMING IS NOT AN ARRAY".
Where did I go wrong?
Thanks
John Dennis
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement