T
Tan Rezaei
Hi All,
I know this is proabably simple but I can't get my mind around it:
I need to read from a file that has many records.
I need to read from this file and depending on what the records say I
need to perform some certain tesks. Well I got that all figured out.
My problem is that I need to change one of the fields on the records
showing that I have already read it and setting some status code so
next time I read the file I will know if I need to do anything more
with that record.
So how do I change records in the file I am reading from? In some
instances I may even need to removed the record from the middle of the
file.
I know you're thinking that I should be using a database but take my
word that is not going to happen in the environment I am working in.
It HAS TO BE A FLAT FILE. I would love to use a DB and import the
files into it and work with them but my hands are tied.
Thanks
T
I know this is proabably simple but I can't get my mind around it:
I need to read from a file that has many records.
I need to read from this file and depending on what the records say I
need to perform some certain tesks. Well I got that all figured out.
My problem is that I need to change one of the fields on the records
showing that I have already read it and setting some status code so
next time I read the file I will know if I need to do anything more
with that record.
So how do I change records in the file I am reading from? In some
instances I may even need to removed the record from the middle of the
file.
I know you're thinking that I should be using a database but take my
word that is not going to happen in the environment I am working in.
It HAS TO BE A FLAT FILE. I would love to use a DB and import the
files into it and work with them but my hands are tied.
Thanks
T