MS Access- How to create a list from a Combo Box

Patrick Snyder 0 Reputation points
2025-12-05T18:24:30.45+00:00

On my form, I want a combo box that displays a list from my table that based on a select from the table, returns a list of matching records.

Microsoft 365 and Office | Access | For business | Windows
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Ken Sheridan 3,546 Reputation points
    2025-12-06T14:22:49.5733333+00:00

    My first reply failed to reproduce the SQL statement correctly, and can't be edited. The following is the corrected SQL statement:

    SELECT 
           LastName,
           1 AS SortColum 
    FROM
           Contacts 
    UNION 
    SELECT 
          "All Names",
           0 
    FROM
           Contacts 
    ORDER BY 
           SortColum,
           LastName;
    

    It worked this time!


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.