>Hi everybody,
>
>I can not compile this code - getting missing operand but I am not seeing the error. May be someone else can see what's wrong here?
>
>
>if upper(toAddress.Address) == upper(toOriginalAddress.Address) AND ;
>
> upper(toAddress.Address2) == upper(toOriginalAddress.Address2) and ;
>
> upper(toAddress.City) == upper(toOriginalAddress.City) and ;
>
> upper(toAddress.State) == upper(toOriginalAddress.State) and ;
>
> upper(toAddress.Zip) == upper(toOriginalAddress.Zip) and ;
>
> upper(toAddress.Country) == upper(toOriginalAddress.Country)
>
>
>I had actually not condition, but decided to take out NOT for now. Still doesn't compile.
Have you tried taking out one piece at a time? Actually, I might go the other way here--start with just the first condition and add them one at a time until I see what breaks it.
Tamar