Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox Simple Problem
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Miscellaneous
Thread ID:
01448746
Message ID:
01448747
Views:
81
>Hello Programmers
>
>I am new here.
>
>I have following codes in INIT of Form1
>
>
>thisform.combo1.RowSourceType=6
>thisform.combo1.RowSource="zcountry.sno,country,continent"
>thisform.combo1.columncount=3
>thisform.combo1.columnwidths="30,60,60"
>
>
>When I run form then Combobox dispays first columns value but I want to display second column's value
>
>The form and table is in attachment
>
>http://www.foxite.com/uploads/384acef9-7da7-4e2d-bb43-6185ef290629.zip


Change it:
thisform.combo1.RowSourceType = 6
thisform.combo1.RowSource     = "zcountry.country,continent, sno"
thisform.combo1.columncount   = 3
thisform.combo1.columnwidths  ="60,60, 30"
thisform.combo1.BoundColumn   = 3
thisform.combo1.BoundTo       =.t.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform