Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error with oRange
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01516312
Message ID:
01516487
Views:
29
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) )
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform