>Hi everybody,
>
>I am trying the following code in the Valid even of the complex class
>
>
>WAIT WINDOW TIMEOUT 1 this.currentdatetime
>WAIT WINDOW TIMEOUT 1 'Valid'
>if NOT ISNULL(this.CurrentDatetime) AND this.value <> this.CurrentDatetime
> if not this.parent.parent.VerifyEntry(this.value)
> return 0
> endif
>endif
>
>and the first window never shows up. Why this may be and how can I test the value of the current date time property? It seems to be not set correctly although GotFocus is supposed to set it to the value and I only want to fire the VerifyEntry method if the value actually changed.
>
>I had originally
>
>if this.value = this.CurrentDatetime
> ** do nothing
>else
> ***
>endif
>
>and I think when I had it this way, nothing happened. Now my verification happens even if the value didn't change.
>
>I am not sure how to make this work correctly.
>
>Do you see where the error in my logic is?
>
>Thanks in advance.
Uses DEBUGOUT to trace code.