Report Output in a text file

runway7runway7 Member Posts: 9
Hi,

I am creating a report that will generate output in text file. The text file will contain amount per invoice .Also the text file first line will display the total number of records ,along with total amount of all records included in the text file.
In the PostReport I am printing this information by using :
File.Seek(0);
File.Write(txt);
File.close(0);

But this is removing all the other lines in text file which were written for individual invoice and printing only this line?

Any suggestion,if i am missing something here?

Comments

Sign In or Register to comment.