Hi,
When I have to check if a field was filled correctly or if a given number is ok, I put this code in the form Save() method :
LOCAL llHouveErro, lnRetVal
llHouveErro = .F.
lnRetVal = 9
IF (.NOT. llHouveErro) .AND. (Something to check)
llHouveErro = .T.
= MsgSvc("NumeroCPFInvalido")
ThisForm.pgfBizObj.Page2.txlCPF.TextBox.SetFocus()
ENDIF
IF .NOT. llHouveErro
lnRetVal = DODEFAULT()
ENDIF
RETURN (lnRetVal)
Everything works fine, unless in one form. In this form, if I make an input error, click on "Save", correct the error and click on "Save" again, when I enter in THIS.MustKeyEntered(This) my View is requeried because toContainer.&lcPage..UIEnabler1.lActivated is .T. and I don´t know why. To be honest I don´t know what toContainer.&lcPage..UIEnabler1.lActivated means...
Please help me !!!
Regards,