Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Returning an array from a form
I am trying to return an array from a form but after my form unloads, the array elements' values are all set equal to the first element value. I've messed with this in both vfp5 and vfp6sp3 without getting it to work. Knowing the array must be passed by reference, I have fooled around with SET UDFPARMS TO REFERENCE in the calling program and in the form's unload event before the return statement to no avail. I have tried DO FORM myform TO @aSelectedItems and get a syntax error in vfp5 and no change in vfp6sp3. I have tried RETURN @aSelectedItems and get a syntax error. Is there something I'm missing here or should I switch to a parameter object??
Thanks in advance, Matt
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