LPARAMETERS nColIndex WITH This IF INLIST( .RowColChange, 1, 3 ) *** If we are trying to move to a new row *** validate the current row IF NOT EOF( .RecordSource ) AND RECCOUNT( .RecordSource ) > RECNO( .RecordSource ) *** Do not allow the move if the validation fails IF .ValidateCurrentRow() *** peachy keen go ahead and move off the row *** and make sure the highlight gets reset IF !.lAbout2LeaveGrid .nRecNo = 0 ENDIF ELSE NODEFAULT ENDIF ENDIF ENDIF ENDWITH