[AccessD] DoCmd.OutputTo problem

Paul Hartland paul.hartland at googlemail.com
Thu Jan 24 08:30:53 CST 2019


Are there any spaces in the strRAPDFName variable, I used to get similar
sounding problems, I ended up replacing any spaces with underscores



On Thu, 24 Jan 2019, 14:25 Rocky Smolin <rockysmolin at bchacc.com wrote:

> Dear list:
>
>
>
> This is Access 2010 question.  I have an app which needs to output a report
> in pdf format.  I'm using the statement:
>
>
>
> DoCmd.OutputTo acOutputReport, "rptRentalAgreement", "PDFFormat(*.pdf)",
> strRAPDFName, False, "", , acExportQualityPrint
>
>
>
> When the program reaches this statement, it does not create the pdf, does
> not go to the next statement, and does not give a run time error.
>
>
>
> I can't find anything on the web forums addressing this particular problem.
>
>
>
>
> Any ideas?
>
>
>
> MTIA,
>
>
>
>
>
> Rocky Smolin
>
> Beach Access Software
>
> 760-683-5777
>
>  <http://www.bchacc.com> www.bchacc.com
>
>  <http://www.e-z-mrp.com> www.e-z-mrp.com
>
> Skype: rocky.smolin
>
>
>
>
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>


More information about the AccessD mailing list