Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing arrays to forms
Message
De
21/08/2003 19:45:38
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00821385
Message ID:
00822435
Vues:
12
Use ACOPY() to copy the parameter to the form array property.


>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
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform