Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2002

    Unanswered: select item in combo box

    im trying to have the 2nd item in my combo box already highlighted(selected) when I open the form it resides in. I tried using VB's ListIndex property but I keep getting an error. Instead the combo box displays nothing when the page loads. any ideas on how to accomplish this simple task?

  2. #2
    Join Date
    Aug 2002
    Northampton, England
    Put this code in the On current event of the form.

    Me!cboName = Me!cboName.ItemData(1)

    This will only work if you have no column headings. If you do, then change ItemData(1) to ItemData(2)


Posting Permissions

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