You are correct. SET EXACT was OFF. I just set it back to ON. I was able to compensate by making lcOldCarr_Name = SPACE(1) instead of an empty blank.
When I initialized the lcOldCarr_Name to "", it would not work right with the comparison. So, I changed it to SPACE(1) and it now compares properly.
Thanks Gregory!
Cecil
>That is because your SET EXACT is OFF
>replace
IF ALLTRIM(lcCarr_Name) != lcOldCarr_Name
by
if( !(lcCarr_Name == lcOldCarr_Name) )