Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Import data with negative sign on the right of a number
Message
From
02/02/2005 14:32:00
 
 
To
02/02/2005 14:19:02
Scott Sherman
Puyallup Tribal Health Authority
Tacoma, Washington, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00983177
Message ID:
00983186
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform