TripleJHJO
Programmer
I am using VB6. I have a datagrid object that is bound to a recordset. When I load the recordset, I want the cursor to move to the first column and last row (new record) of the grid. I am using the following code to do this:
dbGrid.Row = rs.RecordCount + 1
When I first enter data into the grid, I have to press a key twice. Once makes the cursor appear and the second keypress displays the character.
How do I eliminate the double keypress and have the cursor in the ready position right out of the chute?
Thanks,
J.Jensen
dbGrid.Row = rs.RecordCount + 1
When I first enter data into the grid, I have to press a key twice. Once makes the cursor appear and the second keypress displays the character.
How do I eliminate the double keypress and have the cursor in the ready position right out of the chute?
Thanks,
J.Jensen