Hi all,
I have comma separated text file with a comma separated header on the first line and several hundred lines of data below. I need to search for one particular column header for instance, "CITY." Then I need to check every row for that particular column and verify the data in that column.
If the data in that column fails, I want to return the entire line as an error to the user.
I know the general idea of reading files, but not sure how to seek a particular column by looking at the header row.
Any ideas or samples are greatly appreciated!
Regards,
MDA
I have comma separated text file with a comma separated header on the first line and several hundred lines of data below. I need to search for one particular column header for instance, "CITY." Then I need to check every row for that particular column and verify the data in that column.
If the data in that column fails, I want to return the entire line as an error to the user.
I know the general idea of reading files, but not sure how to seek a particular column by looking at the header row.
Any ideas or samples are greatly appreciated!
Regards,
MDA