populate combo box from dataset
Posted on 2008-06-24
Please help with the code below, i have a dataset and i need to filter on 1 of the tables for certain values and then popultae my combo box
here is the code i am using but i am getting the following error
"Cannot bind to the new display member"
ItemName is my field in teh Dataset
'This is for the combo box on the SCI Users pannel
drows = SPds.Tables("lstLookupList").Select("Category = 'SCIUsersStatus'") '
.DataSource = drows
.DisplayMember = "DisplayField"
.ValueMember = "ItemName"