Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Harrisburg, PA

    Unanswered: Highlighting items in a listbox

    I need some major help - this item has been holding me up for a couple of weeks: can anyone tell me how to highlight the items in a listbox based on what values are in a table? Here is a sample of the table:

    RecordNumb ListItem
    1 1
    1 2
    1 3
    2 2
    3 2
    3 3

    When the first record on my form is displayed, items 1, 2 and 3 are highlighted in the listbox. When record #2 is displayed, only item # 2 is highlighted in the listbox, etc. I hope this isn't as clear as mud........Thanks!

  2. #2
    Join Date
    Sep 2004
    You must :
    Read Your Datat
    For each record read the items of your listbox
    Compare the value and use the selected property (true, false) of each item in the listbox

Posting Permissions

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