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
Create directory with current date
Silverlight: open excel in Browser
can I resell Windows Home Server OEM after 1 months use
ODBC Connection to Back End Access MDB with Front End MDE
How to upload a new version of the PDF file - Sharepoint Services 3.0?
Report on Form
How to overline in Word2003?
Copied all vb files (..vb file, project, solution, user options) for a project but getting errors.
Changing Report Recordsource Property in VBA
How do I change Notepad to print landscape using Access VBA