Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto advance to next line in a data grid

Status
Not open for further replies.

Razzle00

Programmer
Sep 27, 2006
20
US
Hi,

Is there any way to advance the cursor to the next line in a datagrid after the user has left the last field from the current line they are entering in? Currently the cursor just goes to the first field in the same line that they are in. It just adds an extra step for the user because they have to arrow down each time to enter on the next record in the grid.

Thanks
 
Be aware though that if the Grid has "AllowAddNew" set to .T. (.F. is the default) a new record would be inserted into the table.
You could write a little code that does a Skip and positions the cursor onto the first field of the next row of the grid after checking for EOF()
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top