R
reidarT
I have some fields with a button that adds records to an Access db.
The fields get values from the fieleds.
In the same window I have a datagrid with a list of the same records from
the access db.
When I click the button on the form I want to add records as described above
and then refresh (requery)
the datagrid so I can see the last record added in the datagrid.
I have tried to put
dgvToDo.Refresh()
Me.TblToDoTableAdapter.Fill(Me.DsToDo.tblToDo)
with bo luck
reidarT
The fields get values from the fieleds.
In the same window I have a datagrid with a list of the same records from
the access db.
When I click the button on the form I want to add records as described above
and then refresh (requery)
the datagrid so I can see the last record added in the datagrid.
I have tried to put
dgvToDo.Refresh()
Me.TblToDoTableAdapter.Fill(Me.DsToDo.tblToDo)
with bo luck
reidarT