Hello again. More help required I am afraid.
My program outputs results to a text file, seperated by commas for later analysis in Excel.
Example:
10001,128,32,400,50
The first number is the unique identifier for each record in the file.
I use Append, Write, Writeln, flush and close to write the results file.
How can I check that the identifier does not already appear in the file before writing the results to avoid duplication / or allow checking / overwriting?
If this is possible, how can I position the write point to overwrite the entry if appropriate?
Thanks.
My program outputs results to a text file, seperated by commas for later analysis in Excel.
Example:
10001,128,32,400,50
The first number is the unique identifier for each record in the file.
I use Append, Write, Writeln, flush and close to write the results file.
How can I check that the identifier does not already appear in the file before writing the results to avoid duplication / or allow checking / overwriting?
If this is possible, how can I position the write point to overwrite the entry if appropriate?
Thanks.