Results 1 to 3 of 3
  1. #1
    DanW is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Oct 2009
    Posts
    30

    Minimizing combo dropdown on click

    I have a record selecting combo box as the first control on my main form with a dropdown event on Change to help narrow down the record of choice as text is entered into the combo box. Works great if you use the Enter keystroke to finish selecting the record. However, if you use a mouse click, the record is selected and form populated, but you have to click outside of the dropdown to get the dropdown to disappear.



    I would like a mouse click on the selected record to also get the dropdown to disappear.

    I have tried changing the dropdown event to On Dirty and Before Update, but then I don't even get the dropdown, which works fine on On Change.

    Is there code for On Click to minimize the dropdown after selecting the record?

  2. #2
    terryvanduzee is offline Novice
    Windows XP Access 2003
    Join Date
    Oct 2009
    Posts
    17
    If I understand right, the combobox remains extended.
    You might try to set the focus to another object on the form. In the OnChange or Afterupdate
    Code:
    Me.formobjectname.setfocus
    Just a thought.

    Terry

  3. #3
    DanW is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Oct 2009
    Posts
    30
    Thank you Terry

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

Similar Threads

  1. Form on click
    By rexb in forum Forms
    Replies: 0
    Last Post: 11-16-2009, 08:49 AM
  2. Dropdown - need help please
    By sullyman in forum Access
    Replies: 8
    Last Post: 10-26-2009, 07:48 PM
  3. Command buttom on click
    By miziri in forum Programming
    Replies: 7
    Last Post: 08-27-2009, 08:15 AM
  4. How to make a Column in Access a DropDown
    By JohnGrove in forum Access
    Replies: 4
    Last Post: 03-10-2009, 07:56 AM
  5. Drop Down, link to another dropdown
    By davelliott in forum Forms
    Replies: 3
    Last Post: 05-23-2006, 08:05 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