Message
 
To
07/12/2006 08:38:57
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01175568
Message ID:
01175571
Views:
9
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'
Previous
Next
Reply
Map
View