Hi
I'm trying to automatically save a report with the Customer name & Quote ID as part of the file name.
I have tried using the below as an event procedure from a button on a form.
Private Sub Command62_Click()DoCmd.OutputTo acOutputReport, "Quotation - Save", acFormatPDF, strPathAndFile = "N:\BB Staff\Becky\Database\TEST Folder" & Customer & ".pdf", True
End Sub
Can anyone help please.