Results 1 to 4 of 4
  1. #1
    JonathanT is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2011
    Posts
    145

    Parameter Query with drop down list


    Is it possible to have a drop dowm list show in a parameter or any other type of query? I do not want to select a value from a combo or text box on a form. When the query runs I want a drop down list to appear so I can select the value to use. Is this possible?

  2. #2
    madpiet is offline Expert
    Windows 10 Office 365
    Join Date
    Feb 2023
    Posts
    566
    Quote Originally Posted by JonathanT View Post
    Is it possible to have a drop dowm list show in a parameter or any other type of query? I do not want to select a value from a combo or text box on a form. When the query runs I want a drop down list to appear so I can select the value to use. Is this possible?
    Nope. Parameter queries at best give you a text prompt, so no combobox option. You'd have to use an unbound form.

  3. #3
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    Not using native Access functionality as madpiet mentioned above, but you could write a custom VBA function that would open a small dialog type form (modal) with the combo of your choice...

    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  4. #4
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    O/P said they did not want to use a form, but do it in a difficult way?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

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

Similar Threads

  1. Replies: 40
    Last Post: 04-06-2020, 06:49 AM
  2. Replies: 3
    Last Post: 12-30-2011, 01:20 PM
  3. Replies: 3
    Last Post: 11-29-2011, 07:01 AM
  4. Replies: 4
    Last Post: 06-16-2011, 09:30 PM
  5. Drop down on Switchboard Parameter
    By Huddle in forum Access
    Replies: 5
    Last Post: 07-15-2010, 02:59 PM

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