>>
>>I see. But the following also works (unless you see something I am missing):
>>
>>
>>IF (!ISNULL(EVALUATE(FIELD(i))) AND ISNULL(OLDVAL(FIELD
>>(i), "V_V_MYTABLE"))) OR ;
>>(ISNULL(EVALUATE(FIELD(i))) AND !ISNULL(OLDVAL(FIELD
>>(i), "V_V_MYTABLE"))) OR ;
>>!(EVALUATE(FIELD(i)) == OLDVAL(FIELD(i), "V_V_MYTABLE"))
>>
>>
>>Thank you.
>
>If that works for you, that's fine, but I find your example extremely hard to follow its intent.
>
>
>IF (VARTYPE(OLDVAL(FIELD(i))<>VARTYPE(EVALUATE(FIELD(i)))
> *
> * To/From .NULL.
> *
>ELSE
> *
> * Type stays the same
> *
> IF ISNULL(EVALUATE(FIELD(i))) OR (OLDVAL(EVALUATE(FIELD(i))==EVALUATE(FIELD(i)))
> *
> * same values
> *
> ELSE
> *
> * different values
> *
> ENDIF
>ENDIF
>
>All in all, they're really the same thing.
Thank you for your version of the code.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham