A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

getting combobox to sort in alphabetical order



 
 
Thread Tools Display Modes
  #1  
Old July 23rd, 2004, 03:29 AM
chang
external usenet poster
 
Posts: n/a
Default getting combobox to sort in alphabetical order

I have set up a combobox to pull up a record, but when i enter new records
the combobox updates, but it doesnt sort it, how can i get it to be sorted
into alphabetical order.
  #2  
Old July 23rd, 2004, 04:12 AM
Duane Hookom
external usenet poster
 
Posts: n/a
Default getting combobox to sort in alphabetical order

Add an Order By to the Row Source property of the combo box. This is a basic
sql/query.

--
Duane Hookom
MS Access MVP


"chang" wrote in message
...
I have set up a combobox to pull up a record, but when i enter new

records
the combobox updates, but it doesnt sort it, how can i get it to be sorted
into alphabetical order.



  #3  
Old July 23rd, 2004, 06:18 AM
Reggie
external usenet poster
 
Posts: n/a
Default getting combobox to sort in alphabetical order

chang, design a query with the fields you want in your combox. Set the
sorting on the fields you want and save the query. Set the combox to row
source type = table/query and the row source = the query you just created.

--
Reggie

----------
"chang" wrote in message
...
I have set up a combobox to pull up a record, but when i enter new

records
the combobox updates, but it doesnt sort it, how can i get it to be sorted
into alphabetical order.



  #4  
Old July 24th, 2004, 06:48 PM
Larry Daugherty
external usenet poster
 
Posts: n/a
Default getting combobox to sort in alphabetical order

Hi Chang,

In the properties of the combobox click on the ellipsis (...) to the far
right of the RowSource property. That will bring up the QBE grid. If your
table isn't showing, click Show Tables and select it. You'll need to drag
the fields that you want in the combobox down to the lower section in the
order that you want them in the combobox. Make sure that one of them is the
field by which you want to sort. Click in the Sort field and choose Alpha.
Close the QBE form and answer yes to saving the changes. Answer no to
creating a named query in the query window.

HTH
--
-Larry-
--

"chang" wrote in message
...
I have set up a combobox to pull up a record, but when i enter new

records
the combobox updates, but it doesnt sort it, how can i get it to be sorted
into alphabetical order.



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrong sort order of report's details section dsjohn_242 Setting Up & Running Reports 6 July 12th, 2004 10:21 PM
Inhereting the sort order Dan St.John Setting Up & Running Reports 1 July 9th, 2004 03:30 AM
Need help putting sort order back ismegordo Worksheet Functions 1 April 1st, 2004 03:13 AM
X Axis Sort Order Jason Charts and Charting 2 October 9th, 2003 04:12 PM


All times are GMT +1. The time now is 10:06 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.