Microsoft
Software
Hardware
Network
Question : Access Report to PDF
Hi, I have been looking at Stephen Lebans great solution to creating password protected PDF's but am not a VBA expert and so have two questions I need to answer:
1: Can the save location of the PDF be specified by referencing a field on the form?
2: Can the name of the PDF be specified by referencing a field on the form?
I have attached Stephen Lebans database and the required dll files.
Many thanks
Answer : Access Report to PDF
You can tell the function where to put your report by including the full path and name. The 3rd argument is where you'd specify this:
ConvertReportToPDF(ReportN
ame, vbNullString, Me.YourOutputPathField & "\" & Me.YourReportNameField, False, True)
Random Solutions
error with web site when it was moved from server 2003 to 2008
Suggested Reading
how to access the mdb file
Nicer charts in Access 2003
How to custom NDR message in Exchange 2007 and disable NDR for internet email sender
Java Script - Toggle a checkbox by clicking on an image
Capture data from listbox
CHARINDEX whole word match
Remove hiberfil.sys windows 2003 SBS sp1
IQueryable on datatable