Hi,
I am running an Access 2013 database where the user can export certain reports as a PDF. I would like to set the name of the PDF to a "user friendly" name such as "Additional Works Summary" instead of the report name of "RClientAdditionalWorksSummaryV2" but still allow the user to chose where the report is to be saved.
I currently use the command:
This allows the user to select the save location but defaults the filename to "RClientAdditionalWorksSummaryV2".
I can amend the command to:
This will change the filename but it also sets the save location
If I change it to:
this will change the filename but automatically saves the file to the default directory (usually My Documents)
Any help would be greatly appreciated
I am running an Access 2013 database where the user can export certain reports as a PDF. I would like to set the name of the PDF to a "user friendly" name such as "Additional Works Summary" instead of the report name of "RClientAdditionalWorksSummaryV2" but still allow the user to chose where the report is to be saved.
I currently use the command:
Code:
DoCmd.OutputTo acOutputReport, "RClientAdditionalWorksSummaryV2", acFormatPDF,
I can amend the command to:
Code:
DoCmd.OutputTo acOutputReport, "Blank OurAllInAuditCurrentJob", acFormatPDF, "c:\Location\Additional Works Summary.pdf"
If I change it to:
Code:
DoCmd.OutputTo acOutputReport, "Blank OurAllInAuditCurrentJob", acFormatPDF, "Additional Works Summary.pdf"
Any help would be greatly appreciated