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
Linked table manager (Access 2003) does not show any tables
How can i remove carriage returns from a text file?
All programs open Windows Media and not what I called up
SCCM Site Design - What sort of DP should I use?
Delete duplicate records
Excel vba: post 24 based on prev EE post - Excel Color Palette - Scheme/Index revisited - for Sean and WarCrimes
Trouble with a Winforms .NET Framework 2.0 list box
Windows/Microsoft Updates all fail for new install of Win XP Pro
sql updating a table
FileSystemWatcher VB.Net How to check if File is opened by application