Hello,
I want to do my invoicing thru email and the DF Report.

Therefore I want to write to a file without the need to manually name my file.

I read all the orders that are ready for an invoice and print them to a file with the namn 'Invoice_XXXXXX' where XXXXXX is the invoicenumber.
After that I produce an email with the file as attached.

Earlier I did this with the 'Win2PDF' where the name could be stored in the Registry.

Are there any ideas of how to do this?