Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox issue
Message
From
16/06/2017 07:30:45
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
16/06/2017 07:07:05
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01652064
Message ID:
01652065
Views:
82
>Dear Experts
>
>I have these codes
>
>
>select temp
>go top
>messagebox(transform(inc_per))			&& thiss dispaly the value =4.5
>thisform.container200.text20.value=inc_per		&& this dispalys the value =4.5
>thisform.container200.combo5.value=inc_per		&& but the value of variable inc_per is not showing in combo
>
>
>textbox is getting variable value but combox is not getting.
>
>Here are two images attached also
>
>Please help me what i am doing wrong?

What's the rowsource of the combo? The value for the combo is not its displayvalue, it's an index into the rowsource, so if its 4th (or 5th, perhaps it rounds) row has, say, 75, the combo will display 75. You may play with .combo.boundto=.t., perhaps that would help.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform