C
CBKowitz
Don't know if this is a bug. But I have to functions that will allow to
output the contents of a report to either PDF or RTF. They are both located
in a code library .accdb. The RTF works fine and creates the .rtf file. The
PDF Function errors out that it cannot find the report (ErrNo 2059).
Here's the line of code:
DoCmd.OutputTo acOutputReport, strReportName, acFormatPDF, strOutputPath,
False, , , acExportQualityPrint
The function has to be in the code library because that's where the calling
function is located.
Thanks for any help.
output the contents of a report to either PDF or RTF. They are both located
in a code library .accdb. The RTF works fine and creates the .rtf file. The
PDF Function errors out that it cannot find the report (ErrNo 2059).
Here's the line of code:
DoCmd.OutputTo acOutputReport, strReportName, acFormatPDF, strOutputPath,
False, , , acExportQualityPrint
The function has to be in the code library because that's where the calling
function is located.
Thanks for any help.