P
Patrick A
All,
I'm reading different posts, MSDNs, and Help topics, and can't find a
method that works. Maybe I'm trying to do something I can't w/VB 2008
Express.
I have a form that reads data from a DB.
Me.QRY_ButtonsTableAdapter.Fill(Me.SRTimerDataSet.QRY_Buttons)
The form displays the data fine, scrolls through, all of that.
I have enabled the save changes button on the Navigation Toolbar.
I can not figure out what code I need in my ...SaveItem_Click
subroutine to save the record(s) the user changes. I want to save all
of the fields on the form (values for each column).
None of these work:
SRTimerDataSet.QRY_Buttons.submitchanges()
SRTimerDataSet.QRY_ButtonsTableAdapter.submitchanges()
Me.SRTimerDataSet.QRY_Buttons.submitchanges()
Me.SRTimerDataSet.QRY_ButtonsTableAdapter.submitchanges()
Anyone have some good syntax to spare? Is there more to it than that?
Thanks,
Patrick
I'm reading different posts, MSDNs, and Help topics, and can't find a
method that works. Maybe I'm trying to do something I can't w/VB 2008
Express.
I have a form that reads data from a DB.
Me.QRY_ButtonsTableAdapter.Fill(Me.SRTimerDataSet.QRY_Buttons)
The form displays the data fine, scrolls through, all of that.
I have enabled the save changes button on the Navigation Toolbar.
I can not figure out what code I need in my ...SaveItem_Click
subroutine to save the record(s) the user changes. I want to save all
of the fields on the form (values for each column).
None of these work:
SRTimerDataSet.QRY_Buttons.submitchanges()
SRTimerDataSet.QRY_ButtonsTableAdapter.submitchanges()
Me.SRTimerDataSet.QRY_Buttons.submitchanges()
Me.SRTimerDataSet.QRY_ButtonsTableAdapter.submitchanges()
Anyone have some good syntax to spare? Is there more to it than that?
Thanks,
Patrick