Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Importing numbers with comma as decimal point
Message
De
11/01/2008 07:13:26
 
 
À
11/01/2008 06:59:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01281084
Message ID:
01281088
Vues:
8
Because most likely more fields are involved, some of them may be normal text.
BTW, Why notepad?
lcFile='yourfile'
StrToFile(Chrtran(FileToStr(lcFile),',','.'),lcFile)
>Why don't you replace in text file "," with "." in Notepad?
>
>>Hi,
>>
>>I'm having trouble importing a text file with prices using , (comma) instead of . (point) as decimal point.
>>
>>SET POINT TO "," before APPEND FROM ... does not work.
>>
>>Does anyone have an idea?
>>
>>Regards,
>
>
>>Hi,
>>
>>I'm having trouble importing a text file with prices using , (comma) instead of . (point) as decimal point.
>>
>>SET POINT TO "," before APPEND FROM ... does not work.
>>
>>Does anyone have an idea?
>>
>>Regards,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform