Solved

Sorting Data in a DATA BOUND Combo box

Posted on 1998-08-11
1
141 Views
Last Modified: 2010-04-30
Hi!

I just want to ask how can I sort the content of a DATABOUND Combo box (i.e. Alphabetically). Since the index of the combo box is the code link to the base table which is sorted ASCENDING BY CODE what should I do to sort the DESCRIPTION that populate in a DBCOMBO box control.

Thanks in Advance.

Brandon
0
Comment
Question by:bmaranan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 14

Accepted Solution

by:
waty earned 10 total points
ID: 1468605
You have to do your select as following

Select YouCode, YouDescription from YourTable Ascending by YouDescription

Youd Combo will be sorted by the description. The related code doesn't need to be sorted.


0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Paint/Redraw window while dragging 16 88
passing parameter in sql procedure 9 68
message box in access 4 52
Send outlook email from VBS Script 2 59
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question