PDA

Click to See Complete Forum and Search --> : Sorting the DBCombo control?


shirsten
Mar 21st, 2000, 12:08 AM
I have linked a DBCombo control to a field in my MSAccess database using the data control. I would like to alphabetically sort the items in the DBCombo control. There is a 'sorted' property available for listboxes, I can't seem to find a similar function for the DBCombo box. Any suggestions?

I would rather perform the sorting in VB than in Access. Also - I am running VB5.

Thanks for any help.

Shirsten

Chris
Mar 21st, 2000, 02:04 PM
You can use the normal ComboBox which have the sort order that you lookinf for. Then you need to set DataSource to your Data Control and the respective Data Field.

Good Luck,