WITH THISFORM llOK=.oCliente.SAVE(.ORS0) IF not llOK .ADO_FINDFIELDERROR(.oCliente.lcFieldError) ENDIF .InitVars() ENDWITHmy ADO_FINDFIELDERROR with your example,
LPARAMETERS cFieldError if type('thisform.txt'+cFieldError)="O" && Object exists loObject = evaluate('thisform.txt'+cFieldError) loObject.SetFocus() endifThe Form clears and not set the focus...Any ideia....