D
Dale Sampson
As you can tell, I am new to VS.net.
I have a VB project with a defined data source pointing to a table in a ..mdb file.-- The associated fields are displayed in textboxes using the tableBindingSource. There is also an associated BindingNavigator. The table's primary key is a field called 'who'. I have a valid value for 'who' and want to set the Navigator to the record that contains this value so the fields are displayed in the associated textboxes. The dataset is loaded with all records during FormLoad event.
The program's tray contains DataSettable, tableBindingSource, tableTableAdapter, BindingNavigator.
I tried tableBindingSource.Find("who", swho) - this doesn't seem to do anything. swho is a string containing a known valid value.
How do I accomplish this?
Also, if data is edited in the textboxes, I want to save the changes to the mdb file - how do I do that?
Same with Adding & Deleting records.
One other question - var = BindingNavigator.MoveNextItem does not advance the Navigator. How to do this?
Appreciate the help ... Thank you.
Dale Sampson
I have a VB project with a defined data source pointing to a table in a ..mdb file.-- The associated fields are displayed in textboxes using the tableBindingSource. There is also an associated BindingNavigator. The table's primary key is a field called 'who'. I have a valid value for 'who' and want to set the Navigator to the record that contains this value so the fields are displayed in the associated textboxes. The dataset is loaded with all records during FormLoad event.
The program's tray contains DataSettable, tableBindingSource, tableTableAdapter, BindingNavigator.
I tried tableBindingSource.Find("who", swho) - this doesn't seem to do anything. swho is a string containing a known valid value.
How do I accomplish this?
Also, if data is edited in the textboxes, I want to save the changes to the mdb file - how do I do that?
Same with Adding & Deleting records.
One other question - var = BindingNavigator.MoveNextItem does not advance the Navigator. How to do this?
Appreciate the help ... Thank you.
Dale Sampson