Rusty
Registered User.
- Local time
- Today, 15:45
- Joined
- Apr 15, 2004
- Messages
- 207
Hey guys,
I have a btn on a form which runs the code below to output a report to rtf.
Is there any way of specifying a folder I want the .rtf file saved in? At present it just sticks it in the same folder as the database.
Also is there any way of using VBA to specify a file name for the .rtf file. I want to use the term "Invoice Request" and the value in the field called [InvoiceRequestNumber].
Any help would be greatly appreciated - this is the last piece of a large puzzle for a costing and invoicing system I'm designing
Thanks,
Rusty
I have a btn on a form which runs the code below to output a report to rtf.
Is there any way of specifying a folder I want the .rtf file saved in? At present it just sticks it in the same folder as the database.
Also is there any way of using VBA to specify a file name for the .rtf file. I want to use the term "Invoice Request" and the value in the field called [InvoiceRequestNumber].
Any help would be greatly appreciated - this is the last piece of a large puzzle for a costing and invoicing system I'm designing

Thanks,
Rusty
Code:
Private Sub btnPrintInvoiceRequest_Click()
DoCmd.RunCommand acCmdOutputToRTF
End Sub