Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
APPEND FROM inaccurate with commas in number
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01311718
Message ID:
01311722
Vues:
18
It's not VFP bug because 1,234.00 is not a valid number.
You can try to import file into excel first and than transfer data into VFP.

>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?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform