Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Substr() not working correctly
Message
De
16/09/1999 15:16:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Substr() not working correctly
Divers
Thread ID:
00265612
Message ID:
00265612
Vues:
61
I have a table called pnltemp. The store column is defined as CHAR(4). I am wanting to scan through the entire table and strip off the leading character. I am using the following code, but for some reason it is not working properly (does it for maybe 4 of the 70 entries):


SELECT pnltemp
SCAN
store2 = substr(alltrim(store),2,3)
REPLACE store with store2
ENDSCAN



PLEASE HELP!!!!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform