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
Windows 7 Software Restriction Policy not working.
Simple Automation with Infopath 2003 and SPS 3.0 - Calculate Directory / Filename to save as
Difficulty uploading items larger than 1 MB
MS Access VBA - Process Bar
SQL Server Clustered Index
[Microsoft][ODBC Microsoft Access Driver] Too many client tasks.
Computer Keeps On Giving Me "c000021a Fatal System Error" Whenever I Try To Log On
Convert string to DataTable object
SQL GROUP BY Results
Calculate Total for the same transaction