Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Import data with negative sign on the right of a number
Message
De
02/02/2005 14:32:00
 
 
À
02/02/2005 14:19:02
Scott Sherman
Puyallup Tribal Health Authority
Tacoma, Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00983177
Message ID:
00983186
Vues:
18
You have to do it in two steps.
replace all lnValue with iif('-'$laValue,-1*val(laValue),val(laValue)) ∨ something like that
>I am importing a large csv file and all of the negative signs are on the right instead of the left. Is there some way to have FoxPro 6.0 recognize these as negative?
>
>I would think that this is fairly common but without importing as text and writing a routine to get the value, I do not see any easy way out.
>
>Scott Sherman
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform