D
dave
HI All,
1) I open up a dataset (declared at the module level)
2) I get the data with the .FILL using the DataAdapter
3) I update a DataGrid RecordSource property to the DataSource
4) I update the DataBindings of a Text box to one of those fields.
Now, the data loads into the datagrid and the text box just fine.
When I move around in the datagrid, it changes the value in the text
box.
Now, how do I change the current record using code? I've tried using
the:
me.bindingcontext(dsCustomer, "dtCustomer").position
Modifing this values does not modify the control on the screen and
changing the record position on the screen does not change the
bindingcontext.position value.
Any help is appreciated.
Dave.
1) I open up a dataset (declared at the module level)
2) I get the data with the .FILL using the DataAdapter
3) I update a DataGrid RecordSource property to the DataSource
4) I update the DataBindings of a Text box to one of those fields.
Now, the data loads into the datagrid and the text box just fine.
When I move around in the datagrid, it changes the value in the text
box.
Now, how do I change the current record using code? I've tried using
the:
me.bindingcontext(dsCustomer, "dtCustomer").position
Modifing this values does not modify the control on the screen and
changing the record position on the screen does not change the
bindingcontext.position value.
Any help is appreciated.
Dave.