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:
01388449
Vues:
55
Try
#DEFINE xlCSVMSDOS 24
* Or
#DEFINE xlCSV 6
* or
#DEFINE xlCSVWindows 23
>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...
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform