Hi all.
I am working on a wee component at the moment that writes data to a wee
flatfile db that i have defined and created.
One of the things I would liek to do is, delete a record from the file.
the record might be say 15 or so records into the database.
is there any easyway to delete this record?
I thought about doing something like having a wee flag at the begining of
the record that says if the record is deleted or not.
But the problem with this is, that the file size is still going to grow,
when if a record is deleted, then the file should decrease in size.
the only wqay I can think of doing this is, to copy everything around the
record to a new file, then deleteing the old one, and renaming the new one
to the old files name....but this seems cumbersom.
Any Ideas that might help ??
Thanks,
Jeremy Coulter
Application Developer
Application Development Centre
Compaq Computer New Zealand Ltd.
Phone: 64 3 371 5724 (DD)
Fax: 64 3 371 5744
Cell: 021 2150435
E-mail: [EMAIL PROTECTED]
Private E-Mail: [EMAIL PROTECTED]
<<Jeremy Coulter.vcf>>
Jeremy Coulter.vcf