>Hi all:
>I have this very simple code in the Lost Focus event of a field:
>*SET STEP ON
>STORE ALLTRIM(THIS.VALUE) TO xValue
>IF xValue=""
> RETURN
>ELSE
>(Do stuff)
>ENDIF
>I am seeing the value of xValue as "xxxxxx", however, the code executes the RETURN command instead of the ELSE part. Why is so?
>TIA for your time.
>
>Ulises
Ulises,
if xValue == "" && Would do
However this shortens it a bit :
IF empty(this.Value)
RETURN
ELSE
(Do stuff)
ENDIF
Cetin