PC Review


Reply
Thread Tools Rate Thread

Combo Box - Specifying Sort Order

 
 
Jim Mac Millan
Guest
Posts: n/a
 
      17th Feb 2006
Hi Everybody,

I have a combo box with two columns. Column 1 is a number and Column 2
is text.

Is there any way to have the combo box sort column 1 in descending
order? The wizard doesn't seem to have an option to change it from
ascending.

TIA
Jim Mac Millan


 
Reply With Quote
 
 
 
 
Larry Linson
Guest
Posts: n/a
 
      17th Feb 2006
"Jim Mac Millan" wrote

> I have a combo box with two columns. Column 1
> is a number and Column 2 is text.
>
> Is there any way to have the combo box sort
> column 1 in descending order? The wizard
> doesn't seem to have an option to change it from
> ascending.


You've already, clearly, used the Wizard. Now replace the RowSource with
either a Query or SQL Statement that does exactly what you want. I'd
suggest using the Query Builder, and just setting the Sort property of the
numeric field to Descending. If you want to use SQL, copy the SQL from the
Query Builder's SQL View, and simplify it, if you'd like.

Larry Linson
Microsoft Access MVP


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
combo box sort in my specified order PURVIANCE Microsoft Access Forms 2 6th Mar 2009 07:22 PM
combo box sort order =?Utf-8?B?UGF0dGlQ?= Microsoft Access Forms 2 18th Sep 2006 09:44 PM
sort order in combo box =?Utf-8?B?Q2hyaXN0aW5h?= Microsoft Access Forms 6 30th Mar 2006 03:06 AM
combo box sort order =?Utf-8?B?RGF2ZQ==?= Microsoft Access Forms 4 30th Nov 2005 04:49 AM
combo box sort order =?Utf-8?B?TG93cmlkZXI3Mg==?= Microsoft Access 2 24th Sep 2005 07:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:50 PM.