Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot access characters beyond string (Error 62)
Message
From
11/02/2000 15:11:05
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00330344
Message ID:
00331018
Views:
96
>Nadya,
>
>I just singled out substr(), any string function can fail in this way under VFP5.
>
>I'll bet the error is here:
>
>lcSourceTbl=lcState+"SAL"+right(lcYear,2)
>
>What is the value of lcYear when the code tries to run?
>
>>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...

David,

RIGHT() seems to work OK, even when the string is empty. (VFP5/TALK ON) Not sure about OTHER string commands...
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform