Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Importing CSV
Message
 
 
À
16/03/2009 13:39:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
01388402
Message ID:
01388447
Vues:
46
>I thought about what you all were saying about preprocessing the file, and I looked at Nadia's string from way back again....
>
>Could I do something like this:
>
>>loExcel = CREATEOBJECT("Excel.Application")
>>loExcel.Workbooks.Open("theoriginalcsv.csv") && Secretly open the csv that I downloaded
>>loExcel.Workbooks.SaveAS("thenewcsvthatworks.csv",8) && Now, save it to ANOTHER csv, but with Excel
>>loExcel.Workbooks.Close(0) && Close, do not keep changes
>>loExcel.Quit
>
>
>and then try appending??
>
>My problem seems to be with the third line of code.....I think the number 8 needs to be changed to something else...

Try 39 instead and also use DisplayAlerts = .f. I haven't tried it myself, though to save as Excel, not CSV.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform