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
Access 2007 Customized Ribbon button disappears in Runtime
How do I fix App log Event id 1202 warning. 0x534 error (Windows 2000 Server)?
Adding user-input date range to query in MS Access
What is Bitlocker ion Vista and windows 2003. How different are these in both OS.
What is the best site for learning with either books or videos
Stop comments from printing in Word 2007
Infopath 2007 with SharePoint Drafts
Is there a way to have excel notify you of a change made on a particular spreadsheet?
Read matching files in a folder, read one of them and insert the Data in a Table
Freezing problem on random conditions