[AccessD] Printing to PDF on 64 Bit

Mark Simms marksimms at verizon.net
Wed Jan 21 14:48:41 CST 2015


This one case so perfectly depicts why it's so brutally difficult to create
solutions using Access or any Microsoft Office component that is VBA-driven:
You've GOT to use compiler directives to effectively handle all of the
variances and exceptions for the various releases.

#IF ACCESS2013 Then
#ELSE
#END IF

>
>         DoCmd.OpenReport "rptSurvey", acPreview, , , acHidden
>         DoCmd.OutputTo acOutputReport, "rptSurvey", "PDFFormat(*.pdf)",
> strFullName, False, "", , acExportQualityPrint
>         DoCmd.Close acReport, "rptSurvey", acSaveNo
>




More information about the AccessD mailing list