Results 1 to 4 of 4
  1. #1
    djclntn is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    476

    Combo Boxes

    No, I'm NOT going to bug anyone today about cascading Combo Boxes; for some reason I failed & surrender (for now). I want to ask how difficult is to have a Combo Box automatically open when I click into a next or new Record. If it's a lot of VBA Coding then just tell me & I won't go any further. Thanks in advance! dj

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Hi Dave,
    I use the got focus event to have the dropdown list appear:

    Code:
    Private Sub Combo7_GotFocus()
       Me.Combo7.Dropdown
    End Sub

  3. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    For this to occur whenever you go to a given Record

    Code:
    Private Sub Form_Current()
     Me.ComboboxName.SetFocus
     Me.ComboboxName.Dropdown
    End Sub


    Replace ComboboxName, in the code, with the actual name of your Combobox.

    Linq ;0)>

  4. #4
    djclntn is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    476
    Big Thanks to Steve & Ling. I'm playing around with both codes -- trying different things

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. combo boxes
    By donnan33 in forum Programming
    Replies: 9
    Last Post: 12-22-2011, 01:10 PM
  3. Combo boxes
    By seanh3 in forum Forms
    Replies: 2
    Last Post: 07-20-2011, 10:39 AM
  4. Using Combo Boxes
    By geoffwbailey in forum Programming
    Replies: 1
    Last Post: 06-21-2010, 10:08 AM
  5. combo boxes
    By thewabit in forum Forms
    Replies: 7
    Last Post: 01-01-2010, 08:51 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