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 09:06:40
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01685787
Message ID:
01685799
Views:
35
>>>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()
>>
>
>Yup lol --- that was a really stupid problem to have. I've been taking care of my dad and simply had not had enough sleep - brain was not working at all lol lol.

No problem. It just depends on what you like to do - and how you like to solve it. I manipulate a csv on text level as well, there I use ALINES too.
Anyway, take a brake, care work and coding the same time will burn your fast.
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