[RESOLVED] duplicate items in combo box
hello .. i have a combo box that is load from a database field. what i want to do is when i select an item to display a description in a textbox.. It displays what i want to display fine, but everytime i click on the combo box to selected an item it duplicates the item. I tried the change event but doesn't display anything in the textbox..
Private Sub cboPrice_Click()
If Me.cboPrice.ListIndex = 0 Then
Call showPrice(Me, 1)
Else
Call showPrice(Me, 2)
End If
End Sub
thanx
Re: duplicate items in combo box
What is the style of the combobox ?
Try cboPrice_Change event and see what happens.
Re: duplicate items in combo box