Modifying the input
From: Tan Rezaei (trezaei_at_hotmail.com)
Date: 06/08/04
- Next message: Tore Aursand: "Re: Converting a string to multiple search patterns"
- Previous message: Jeff 'japhy' Pinyan: "Re: Converting a string to multiple search patterns"
- Next in thread: Tore Aursand: "Re: Modifying the input"
- Reply: Tore Aursand: "Re: Modifying the input"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 8 Jun 2004 08:18:25 -0700
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
- Next message: Tore Aursand: "Re: Converting a string to multiple search patterns"
- Previous message: Jeff 'japhy' Pinyan: "Re: Converting a string to multiple search patterns"
- Next in thread: Tore Aursand: "Re: Modifying the input"
- Reply: Tore Aursand: "Re: Modifying the input"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|