Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameters with a Form
Message
De
06/09/2000 08:36:15
 
 
À
06/09/2000 04:51:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00412816
Message ID:
00412856
Vues:
12
>In my programm I use
>
>DO FORM "c:\frmselection.scx" with atab1,atab2 to aResult
>
>
>In the init methode on my form the parameters are Ok I do some modification.
>
>On the Unload methode I use
>RETURN atoto who is an Array
>
>But when I want to use this array is it impossible because juste the frist element (atoto(1,1)) was tramsited with the call fonction
>
>Some one can help me ?

You have to pass in the atoto array by reference, VFP doesn't return arrays.
I also recommend passing arrays by reference, anyway - e.g.,

DO FORM frmselection WITH @atab1, @atab2, @atoto

and make sure these are indentified as EXTERNAL ARRAY in the form.Init() e.g.,

** form.init
LPARAMETERS atab1, atab2, atoto
EXTERNAL ARRAY atab1, atab2, atoto
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform