Set the ListIndex Property of a Combo Box Given an ItemData Value
Category:
Forms and ControlsType:
SnippetsDifficulty:
IntermediateAuthor:
AnonymousVersion Compatibility: Visual Basic 6
More information:
This function uses an ADO client-side recordset to select an item in a combo box given it's item data value.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: