Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do form with @laMyArray to llWhatever
Message
From
06/01/2005 14:53:42
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00974779
Message ID:
00974805
Views:
35
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é
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform