Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do form with @laMyArray to llWhatever
Message
 
À
06/01/2005 14:07:38
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:
00974795
Vues:
28
This message has been marked as the solution to the initial question of the thread.
>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"

....
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform