>LPARAMETERS nKeyCode, nShiftAltCtrl >IF m.nKeyCode=9 ; >THEN > KEYBOARD '{DNARROW}' PLAIN CLEAR >ENDIF >>This will move the focus to the first column of the next row when you tab out the last column. Then you don't have to worry about record number at all.