Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Importing csv file to database
Message
From
10/11/2021 02:30:32
 
 
To
09/11/2021 18:21:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01682654
Message ID:
01682683
Views:
44
>Errors off at this place of code:
>
>LOCAL CSV AS CSVProcessor
>
>m.CSV = CREATEOBJECT("CSVProcessor")
>
>It gives me CSV is not an object error....
>

Jeffrey, assuming you downloaded the CSV and Names repositories from Github, before issuing these commands that failed you must put the libraries in scope.

So:
DO LOCFILE("csv.prg")   && in the IDE, this will ask your for the location of namer.prg, also
and then you may work with the class.
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform