Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2008

    Unanswered: Listbox Highlighting HELP :)

    Hi, I am creating a listbox that I want the user to choose from. The problem is that the row does not highlight when I click on a record in the listbox. Has anyone gone through this problem before? I have never had to program anything for this to work, I thought that it automatically will highlight,isn't that the purpose of a listbox?

    Any help would be greatly appreciated!


  2. #2
    Join Date
    Mar 2007
    You didn't mention what version of Access you are using but I would try importing your db into a clean, fresh new db and then Compact and Repair.
    Last edited by RuralGuy; 12-25-08 at 22:10.
    RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP, ac07, ac10 - WinXP Pro, Win7 Pro
    Please reply to this forum so all may learn.

  3. #3
    Join Date
    Dec 2004
    Madison, WI
    Is the listbox control locked = true or Enabled = false?

    Does the OnClick or AfterUpdate event work on the listbox? (ie. you can put in a msgbox in the onClick or AfterUpdate event such as

    msgbox me!ListboxName

    which would show the value of the listbox control.

    I'm guessing though that the listbox control is locked or not enabled. That's usually the cause of not seeing the row highlighted.
    Expert Database Programming
    MSAccess since 1.0, SQL Server since 6.5, Visual Basic (5.0, 6.0)

  4. #4
    Join Date
    Nov 2007
    Adelaide, South Australia
    Might be a windows colours problem?
    Owner and Manager of
    CypherBYTE, Microsoft Access Development Specialists.
    Microsoft Access MCP.
    And all around nice guy!

    "Heck it's something understood by accountants ... so it can't be 'that' difficult..." -- Healdem
    "...teach a man to code and he'll be frustrated for life! " -- georgev

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts