Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing arrays to forms
Message
From
21/08/2003 18:40:42
 
 
To
19/08/2003 09:44:43
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00821385
Message ID:
00822416
Views:
16
In the init of the form do you assign the values of the array to a form property, otherwise the passed value will only be visible in the init.
so in the init of the form you need to have something like thisform.myarray[1] = a[1]
thisform.myarray[2] = a[2] and so on.
also try not calling the passed array by a single letter - might get mixed up with work areas.
Additionally, the value of a is 'qwe' and a[1] is 'qwe', did you have a look at what a[2] is?

HTH


>I have,
>
>DIME a(3)
>a(1)="qwe"
>a(2)="4rwe"
>a(3)="qwwere"
>
>DO FORM c:\fuentes\six\articulos\form\ABMSIMPLE WITH a
>
>and in the INIT on the FORM,
>
>LPARAMETERS tcTablas
>
>then why I dont get an tcTablas as an array? I only get one value.
>
>thanks!
>Pablo
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform