G
Guest
Hi,
I'm importing a large text file to Access. I'd like to start reading the
file beginning from the end, as I normally need need only approx. the last
1000 lines (and reading the other lines is just time consuming).
Now I'm forced to read all the lines:
Open fileName For Input As FID
Line Input #FID, Buffer
While Not EOF(FID)
prosessLine (Buffer)
Wend
If it is not possible, it would also be helpful if I could read for example
every 100th line and, when information new enough is found, read all lines
from that on (and the 99 lines before that).
Every line contains over 1000 char (including the date, which I use as
indetificator), so reading all >10000 lines is really time burdening!
Thanks in advance,
Anssi K.
I'm importing a large text file to Access. I'd like to start reading the
file beginning from the end, as I normally need need only approx. the last
1000 lines (and reading the other lines is just time consuming).
Now I'm forced to read all the lines:
Open fileName For Input As FID
Line Input #FID, Buffer
While Not EOF(FID)
prosessLine (Buffer)
Wend
If it is not possible, it would also be helpful if I could read for example
every 100th line and, when information new enough is found, read all lines
from that on (and the 99 lines before that).
Every line contains over 1000 char (including the date, which I use as
indetificator), so reading all >10000 lines is really time burdening!
Thanks in advance,
Anssi K.