NickOlsen
05-12-2004, 12:00 AM
I have written an order form program and when an order is recorded, it has to identifying numbers, a customer reference number and a record number. I have a seperate form where you can enter one of the two numbers and it will give you the corresponding number. It's data source is a .txt file that contains all the customer reference numbers and the record numbers. I have it set now that whenever you save a number, it appends the two numbers to my .txt document. This obviously puts the next text at the bottom of the .txt document. Is there anyway to append text to the top of the document instead of the bottom. For example:
'**********original txt document ********
12
1678
13
1679
**********text document after appending*******
12
1678
13
1679
14
1680
**********text document that I want*******
14
1680
12
1678
13
1379
'**********original txt document ********
12
1678
13
1679
**********text document after appending*******
12
1678
13
1679
14
1680
**********text document that I want*******
14
1680
12
1678
13
1379