Hi,
I am using the ADO textstream to read a .txt file and from that insert data into my database. This is working well if i need to skip only one line.
The issue i have is the text file contains either one or two lines at the begining that i need to skip. unfortunatly i won't know which it is without reading the first two lines and checking them for a value. If they both contain the word "select" skip them both if only the first does then skip just that line.
Is there a way i can do this? Any help would be great.
Thank you.
I am using the ADO textstream to read a .txt file and from that insert data into my database. This is working well if i need to skip only one line.
The issue i have is the text file contains either one or two lines at the begining that i need to skip. unfortunatly i won't know which it is without reading the first two lines and checking them for a value. If they both contain the word "select" skip them both if only the first does then skip just that line.
Is there a way i can do this? Any help would be great.
Thank you.