Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
My_fields is not an array
Message
 
À
07/12/2006 08:38:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01175568
Message ID:
01175571
Vues:
8
In designer, add property as

my_fields[1]

Bob

>hi all,
>
>i try to copy all buttons,text, methods and property to new form
>
>i get error messag
>"my_fields" is not an array
>at this code
>
>i try to add new property at myform as my_fields(1,0),
>but i add new property only as my_fields.
>
>
>IF NOT EMPTY(ThisForm.select_file)
>   USE (ThisForm.select_file)
>   AFIELDS(ThisForm.my_fields,JUSTSTEM(ThisForm.select_file))&& error at this line
>   ThisForm.combo1.RowSourceType = 5
>   ThisForm.combo1.RowSource = [ThisForm.my_fields]
>   ThisForm.combo1.Value     = ThisForm.my_fields[1]
>   ThisForm.Combo1.Interactivechange()
>   ThisForm.text3.value = JUSTSTEM(ThisForm.select_file)
>ENDIF
>
>thanks,
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform