Results 1 to 8 of 8
  1. #1
    Psyclone is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2011
    Posts
    7

    Help with ComboBox

    I have a form that is working perfectly except for one simple function. Currently, my form has a ComboBox that has 96 different "Player Names" in it from a query. When you select a "Player Name" from the ComboBox, the rest of the form will display that player's statistics (other fields from the query). There are no other controls on the form, just a whole bunch of TextBoxes used for display purposes.



    My only problem is that I can only cycle through the ComboBox using my mouse wheel or arrow keys. I can't click on any of the rows in the ComboBox and I can't type in a person's name into the ComboBox. The only way to select a name from the ComboBox is with the mouse wheel or arrow keys. Other than that, everything works perfectly.

    I've been driving myself nuts trying everything and reading everything online about ComboBox properties. It seems like it's probably something really simple, but I'm totally stuck. Any help would be appreciated.

  2. #2
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    Are there any macros or VBA procedures tied to the form that would impact the combo box?

  3. #3
    Psyclone is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2011
    Posts
    7
    No. No macros or VBA.

  4. #4
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    You must have some code in order to do this:
    When you select a "Player Name" from the ComboBox, the rest of the form will display that player's statistics (other fields from the query).

  5. #5
    Psyclone is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2011
    Posts
    7
    I just used the wizard to tie the combobox to the record selection. I dont see any code that was created.

  6. #6
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    Do the controls (control source) on your form reference the combo box something like this:

    =comboboxname.column(x)


    What happens if you rebuild the combo box and form?


    By any chance can you post a copy of your database with any sensitive data removed?

  7. #7
    Psyclone is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2011
    Posts
    7
    I think the problem is that I'm using the wizard and selecting the option "Find a record on my form based on the value I selected in my ComboBox."

    I don't see any code that this is generating though.

  8. #8
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    There probably is some code in the after update event of the combo box, but you still should be able to select an item from the combo box. That part is still strange.

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

Similar Threads

  1. Replies: 29
    Last Post: 08-16-2011, 05:52 PM
  2. Replies: 0
    Last Post: 08-24-2010, 06:38 PM
  3. Please I need help with combobox
    By em12 in forum Access
    Replies: 1
    Last Post: 07-16-2010, 08:04 AM
  4. Combobox help
    By rnjalston in forum Forms
    Replies: 1
    Last Post: 04-02-2010, 06:37 PM
  5. Replies: 0
    Last Post: 12-16-2009, 01:14 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