Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find Item in ComboBox
Message
From
27/11/1998 07:40:15
Jody Cairns
OAO Technology Solutions
Moncton, New Brunswick, Canada
 
 
To
27/11/1998 07:27:30
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00161888
Message ID:
00161918
Views:
21
>can you sort the item at the DBCOMBO ?

For a DBCombo control, the items appear according to the Index that is currently active for the recordset that is bound to the control.

To change the order within your control you have change your index of the recordset. Something like:

Data1.RecordSet.Index = "Name"

Where "Name" is a defined index for the recordset's table. If you used a dynaset, you should place an ORDER BY clause in your SELECT statement.

Hope that helps,

jody
Previous
Reply
Map
View

Click here to load this message in the networking platform