Results 1 to 3 of 3
  1. #1
    thefairman is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2011
    Location
    California
    Posts
    10

    Sorting combo boxes

    Hi.


    I am creating a rainfall database. There are many stations that each have a station number and station name. I have a combo box that allows users to select the station before entering rainfall data. I would like the user to be able to view the combo box list in order by station number OR by station name. Any help is appreciated.

    Thanks in advance.

  2. #2
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    I would like the user to be able to view the combo box list in order by station number OR by station name.

    What does this mean? You currently have the box in place. How are they viewing it now? What do you want to happen that is different? Perhaps an example of what you have and what you want would be nice.

  3. #3
    thefairman is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2011
    Location
    California
    Posts
    10
    Thanks alansidman for your response. Basically I have a combo box that acts as a filter for a datasheet. See attached screen shot. The user might know the station number or they might only know its name. I want them to be able to search for it either way. I was thinking perhaps that I could create a check box called "sort by name" and if the user checked it the stations would be reordered by name in the combo box. Not sure how to do that or if its possible. Alternatively, I was thinking that I could create two combo boxes one with the stations ordered by number and one ordered by name. Creating two combo boxes would mess up the filter, though. Any help is appreciated. Thanks!
    Attached Thumbnails Attached Thumbnails AddDailyScrnShot2.png  

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 9
    Last Post: 06-04-2014, 10:45 AM
  2. Help with Combo Boxes
    By Lxmanager in forum Access
    Replies: 1
    Last Post: 02-08-2012, 02:52 PM
  3. Sorting Data in a Combo Box
    By Mutant_Mike in forum Access
    Replies: 1
    Last Post: 05-03-2011, 03:59 PM
  4. Sorting a Combo box?
    By newtoAccess in forum Access
    Replies: 3
    Last Post: 03-19-2011, 03:57 PM
  5. Help with combo boxes?
    By 107295 in forum Access
    Replies: 5
    Last Post: 02-09-2011, 01:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums