B
Brian Simmons
Hi All,
I'm hoping there's a quick and easy to accomplish this:
I've got a CSV file (each row represents a record, and is followed by a
NewLine).
Is there any way (short of counting the NewLine's) to get a Line Count of
the file.
I've got a quick & dirty utility that I wrote for a client, and right now,
they run the utility and it checks for the existence of the CSV file. If
it's found they get a messagebox like
"File exists, task needs to be run"
I would like in addition for checking for the file's existence, get the line
count and present a message like:
"File exists, task needs to be run, and there are XX records to process"
Thanks,
Brian
I'm hoping there's a quick and easy to accomplish this:
I've got a CSV file (each row represents a record, and is followed by a
NewLine).
Is there any way (short of counting the NewLine's) to get a Line Count of
the file.
I've got a quick & dirty utility that I wrote for a client, and right now,
they run the utility and it checks for the existence of the CSV file. If
it's found they get a messagebox like
"File exists, task needs to be run"
I would like in addition for checking for the file's existence, get the line
count and present a message like:
"File exists, task needs to be run, and there are XX records to process"
Thanks,
Brian