Hi Rex.
>> What if the record does not pass validation? How do I prevent the record pointer from moving from the AfterRowColChange method? <<
This in AfterRowColChange:
IF .ValidateCurrentRow()
GOTO lnRec2GoTo
ENDIF
This line of code will keep the user from leaving the row that is being validated if the validation fails. All you need to do is RETURN .F. from your ValidateCurrentRow method.
Marcia
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement