Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I pass & return an array to form
Message
De
18/02/2004 07:32:08
 
 
À
18/02/2004 07:16:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00878231
Message ID:
00878233
Vues:
23
>how do I pass & retrun an array to form
>Rajesh
local array laMyArray[10]
laMyArray = "hello"

do form MyForm with laMyArray to laMyArray

for ln = 1 to alen( laMyArray, 1 )
   ? laMyArray[ ln ]
next
In the modal form's Init:
lparameter taMyArray
local ln

for ln = 1 to alen( taMyArray, 1 )
   activate screen
   ? taMyArray[ ln ]
next

thisform.aMyArray = taMyArray
In the modal form's Unload:
return thisform.aMyArray
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform