Results 1 to 9 of 9
  1. #1
    qvqv is offline Novice
    Windows 10 Access 2016
    Join Date
    Jan 2021
    Posts
    18

    Combo Box - Ordering Typed in data.

    When a combo box is set where the person entering the data, can type in values:

    1) Is there a way to order the list alpabetically or numericaly.

    2) If the data is sorted manually, does this affect the relationship between the record and the data from the combo box?

    Many thanks in anticipation

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,543
    What is the Row Source property of the combo.
    If it is derived from a table/query you will be able to sort it by any field.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    in the combo bound query put 2 fields:
    1, for the user to see and choose
    2, the sort.

  4. #4
    moke123's Avatar
    moke123 is online now Me.Dirty=True
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,654
    Is it a value list or based on a query? How are they typing in the Info? Are you using the not in list event?
    If this helped, please click the star * at the bottom left and add to my reputation- Thanks

  5. #5
    qvqv is offline Novice
    Windows 10 Access 2016
    Join Date
    Jan 2021
    Posts
    18
    Its a value list.

    Type in by user.

    Many thanks

  6. #6
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,800
    Could be done but would require code. The smartest thing would be to not use a value list and utilize the NotInList event to allow additions. The code effort to re-order a value list would be more effort than using a lookup table IMO.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  7. #7
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,800
    The smartest thing would be to not use a value list and utilize the NotInList event to allow additions
    By that I meant additions in a back end lookup table (if fe, users would lose these values upon each fe update). If you want a whole lot of reasons to not edit value lists, read

    http://allenbrowne.com/ser-27.html
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  8. #8
    qvqv is offline Novice
    Windows 10 Access 2016
    Join Date
    Jan 2021
    Posts
    18
    Thanks quite convinving. Thanks

  9. #9
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2016
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,725

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

Similar Threads

  1. Replies: 2
    Last Post: 12-09-2019, 07:52 AM
  2. Long list combo box filter as entry is typed?
    By NightWalker in forum Programming
    Replies: 2
    Last Post: 12-02-2017, 03:36 PM
  3. Delete name typed in combo box
    By rzw0wr in forum Programming
    Replies: 3
    Last Post: 06-22-2013, 08:54 AM
  4. Ordering data from a query
    By kulanga in forum Queries
    Replies: 9
    Last Post: 03-24-2010, 08:16 AM
  5. Replies: 5
    Last Post: 06-30-2009, 09:30 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