Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
APPEND FROM inaccurate with commas in number
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01311718
Message ID:
01311720
Views:
17
>I have a CSV file that is downloaded from a financial institution. Etrade, to be exact.
>
>Some fields have values greater than 1000, and any that do use commas per traditional representation. For example: 1,234.00
>
>The problem is that APPEND FROM does not simply ignore the comma. Instead, VFP miscalculates the value, and the value of the field in the DBF is assigned 1.00 rather than 1234.00
>
>This despite the fact that the data in the file is delimited correctly.
>
>Is there a simple workaround for this bug?
>
>Thanks very much.

What BUG?
Their?
What is this:
100,100,234.00
one, two or three numeric fields?
How could you recognize if the comma is real separation char or a thousand delimiter?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform