I have posted this question here before, but I haven't got the right answer yet. I'm sure someone must have done this before....
I have a form with a DataGrid connected to a Access 2000 database with an ADO-object. In the same form I have a toolbar with som buttons. One button is ment for "adding a new record" into the datagrid.
When I push the button in the toolbar I want to set focus on the last line in the datagrid where you normally register new reords.
I have tried to set the col,row properties, .Addnew etc, but with no luck.
Can anyone tell me how that VB code will look like ?
Regards
Knut
I have a form with a DataGrid connected to a Access 2000 database with an ADO-object. In the same form I have a toolbar with som buttons. One button is ment for "adding a new record" into the datagrid.
When I push the button in the toolbar I want to set focus on the last line in the datagrid where you normally register new reords.
I have tried to set the col,row properties, .Addnew etc, but with no luck.
Can anyone tell me how that VB code will look like ?
Regards
Knut