Ulises,
I suspect that set('exact') is OFF, which is the default value
OFF: Specifies that, to be equivalent, expressions must match character for character until the end of the expression on the right side is reached
ie
set exact OFF
? 'xxxxx' = '' && yields TRUE
set exact ON
? 'xxxx' = '' && yields FALSE
SET EXACT is scoped to the current data session.
>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
Gregory