[AccessD] DoCmd.OutputTo problem

Rocky Smolin rockysmolin at bchacc.com
Thu Jan 24 09:41:33 CST 2019


No - no spaces.

R


-----Original Message-----
From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of
Paul Hartland via AccessD
Sent: Thursday, January 24, 2019 6:31 AM
To: Access List
Cc: Paul Hartland
Subject: Re: [AccessD] DoCmd.OutputTo problem

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
>
-- 
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