Insert Header and Footer Rows to the CSV/TXT file

Greetings to the community !

I have a requirement to build the txt file which has the format of Header,Body,Footer rows as shown in below screenshot.

I can able to build the body rows reading from SQL DB and formatting with CSV formatter.
But how can i add the Header and footer rows with required fields like Date stamp, no.of rows etc.

Best Regards

@Madhu1 - Please refer to this post from last year to see if it answers your question:

1 Like