Hi everyone,
I have a (probably very simple) problem which is bugging me. I have
created a form which has several controls bound to a dataset. I would
like to implement a 'search' combobox; you select the appropriate
record in the combox and the form changes the data shown. I have
created the combobox abut cannot seem to be able to change the current
data shown on the form.
I have tried using dataviews:
Dim dv As New DataView(objdstContList.Tables("Table: Controller
List"))
dv.RowFilter = "ID = " & cbx.selectedvalue
dv.Sort = "ID"
I have also tried to select a record in the dataset itself:
' objdstContList.Tables("Table: Controller
List").Select("ID = " & cbx.selectedvalue)
And a few other variations. All the code seems to be working, just not
doing what I want!
Any help would be gratefully accepted.
Ian Gaskell