Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox Value
Message
From
22/06/1999 15:40:41
 
 
To
22/06/1999 12:08:55
Coann Teng
Computer Infobase System S/B
Kuala Lumpur, Malaysia
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00232542
Message ID:
00232684
Views:
17
Coann

Try the code below after your SQL statement executes. Or put it in the init event of the box itself. Sounds like you want to show a value if the SQL statement returns any values and you would like it to be the first value.

THIS.listindex = IIF(THIS.listcount > 0,1,0)

HTH



>My combobox rowsource is a SQL statement , everytime i run the form, it didn't >show any value at the combobox, i need to select...how can i make the combobox >display the first value?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform