>Howdy and greetings all,
>
>I have the below listed code in my textbox Interactive Change box. My goal is to visibly place an error box around the textbox if an data entry error occurs, in think case, if it's empty. Would a better placement of this be in the Valid method?
>
>IF EMPTY(ALLTRIM(this.Value))
> This.parent.First_Name_Error_Shape.Visible = .T.
>ELSE
> This.parent.First_Name_Error_Shape.Visible = .F.
>ENDIF
Yup, and your valid method would be a two-liner
This.parent.First_Name_Error_Shape.Visible = EMPTY(ALLTRIM(this.Value))
return not This.parent.First_Name_Error_Shape.Visible