Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning an array from a form
Message
De
09/05/2000 15:49:49
Matt Trainor
Medical College of Georgia
Augusta, Georgie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Returning an array from a form
Divers
Thread ID:
00367796
Message ID:
00367796
Vues:
60
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
Fil
Voir

Click here to load this message in the networking platform