>Hi Kim,
>
>This is because the default behavior of string comparations
>in FoxPro. You will have to issue a SET EXACT ON before
>the comparation; or even reversing it to IF "Add" = THIS.Caption
>will do what u want. I agree with u that this kind
>of behavior usually have more drawbacks than beneficts...
>hope there is a MS guy still round here listening :)
>
>Ciao,
>
>J. Luis
J. Luis,
Come on :)! Kim could have used == and he would have had the
'expected behaviour' no matter how exact was set. If MS is
listening, there are more urgent things that require their
attention. (s)
Regards,
Marc
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.