Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Format problem
Message
 
To
14/12/2001 02:32:31
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00590977
Message ID:
00594982
Views:
23
>Hi,
>
>Thank for your help, for the datacombo box,
>is there any way to list more than one field
>like this
>
> cbodata.ListField = "VipCode & VipName" <======= this give error
>
>as the compiler report of error when I code the above statement
>insteads of only
>
> cbodata.ListField = "VipCode" <======== this is okay
>

You can't have 2 fields in a listfield but you can concatenate them in the SQL query (SELECT VIPCODE + VIPNAME AS NewField FROM ...) and use NewField into ListField.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Reply
Map
View

Click here to load this message in the networking platform