Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Count number of lines in a .csv file?
Message
From
12/01/2023 06:14:56
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01685787
Message ID:
01685795
Views:
55
>Seems like this should be easy but I'm stuck ... I have a .csv file and need to know the number of lines in it -- any ideas on easy way to do that?
>
>Thanks!

You know, it's VFP. Other solution
create cursor curTest (c1 c(1))
append from 'yourfile.csv' TYPE CSV
?reccount()
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform