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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing rows in a Grid by using the keyboard (<ENTER> key)

Status
Not open for further replies.

theprophet

Programmer
Nov 2, 2000
16
US
Does anyone know if there is a way to change rows in a grid by using the ENTER key?? The grid I am using is used for lots of data entry and it becomes tedious having to switch to the arrow keys when going from row to row. I'd rather press enter to move from column to column and then at the last column immediately begin on the first column of the next row.

Thanks in advance,

Ms-)E

 
HI
In the last column.Text1.LostFocus event add the code..

IF LASTKEY() = 13
KEYBOARD '{DNARROW}'
ENDIF

Hope this helps :) ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top