Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot access characters beyond string (Error 62)
Message
De
11/02/2000 15:11:05
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00330344
Message ID:
00331018
Vues:
102
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform