Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Importing csv file to database
Message
De
09/11/2021 18:21:01
 
 
À
09/11/2021 10:07:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01682654
Message ID:
01682679
Vues:
36
Errors off at this place of code:

LOCAL CSV AS CSVProcessor

m.CSV = CREATEOBJECT("CSVProcessor")

It gives me CSV is not an object error....

>Howdy and grand rising,
>
>I am trying to import a csv file into a database that has memo fields. When i code: append from myflie.csv to myNewDbf type csv - myNewDbf has some memo fields. apparently when i append from the csv, it does not input the cells into the memo fields on myNewDbf and therefore it skips those columns which kinda throws the data off, if that makes sense..any ideas ?

Jeffrey, you may have a look at the CSVProcessor class at https://github.com/atlopes/csv. It has the capability of appending data from a CSV file into memo fields.
Thanks in Advance.

J. Turner
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform