David,
I'm sure, I didn't do such a thing!!!! :)
This is my lcWhere expression: (from debugger)
ccode='13' and aa.ccode+aa.town=bb.County+bb.town
No substr at all...
>
>>>>It works fine, if I comment:
>>>>*!* set talk on
>
>Somewhere in your macro expansion you are attempting to use substr() past the end of string:
>
>x = "abc"
>? substr( x, 55, 5 )
>
>The current setting of TALK controls whether or not an error is thrown of if VFP just ignores your mistake.
If it's not broken, fix it until it is.
My Blog