Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do form with @laMyArray to llWhatever
Message
De
06/01/2005 14:53:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Database:
Visual FoxPro
Divers
Thread ID:
00974779
Message ID:
00974805
Vues:
34
Thanks Borislav.

>>I declared my array
>>
>>local array laMyArray
>>
>>I want to call a form that will add rows to the array
>>
>>How do I call my form with a local array.
>>
>>if I do
>>
>>do form with @laMyArray to llWhatever
>>
>>it gives an error. "Command contains unrecognized phrase/keyword" and the problem is @laMyArray within the do form...
>
>Other way (dfferent then Beth's) is to declare ARRAY as Private. Then You can manage it in form w/o problems.
>
>i.e.
>
>
>DIMENSION laMyArray[5]
>
>DO FORM Test TO llWhatever
>
>** In any event or method of the Form Test You can do whatever You want with array
>DIMENSION laMyArray[6]
>laMyArray[6] = "bla bla"
>
>....
>
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform