From: Bob Howard on 12 Mar 2010 17:40 As I previously mentioned, this is an Access 2003 program. acFormatPDF is not a valid value (because Access 2003 was unable to create PDFs). That's the basis of the problem! bob "Stefan Hoffmann" <ste5an(a)ste5an.de> wrote in message news:OJV5iRcwKHA.404(a)TK2MSFTNGP02.phx.gbl... > hi Bob, > > On 12.03.2010 00:15, Bob Howard wrote: >> So ... for an Access 2003 program running under Access 2010 --- how does >> one >> create a PDF? > > DoCmd.OutputTo _ > acOutputReport, "yourReport", acFormatPDF, "C:\Temp\Test.pdf" > > > mfG > --> stefan <--
From: Stefan Hoffmann on 13 Mar 2010 06:18 hi Bob, On 12.03.2010 23:40, Bob Howard wrote: > As I previously mentioned, this is an Access 2003 program. acFormatPDF is > not a valid value (because Access 2003 was unable to create PDFs). That's > the basis of the problem! bob You really should build specific code. In your case you can and must use conditional compilation http://msdn.microsoft.com/en-us/library/ee691831%28office.14%29.aspx mfG --> stefan <--
From: Bob Howard on 14 Mar 2010 09:34
"Stefan Hoffmann" <ste5an(a)ste5an.de> wrote in message news:Ouq9m7pwKHA.4752(a)TK2MSFTNGP04.phx.gbl... > hi Bob, > > On 12.03.2010 23:40, Bob Howard wrote: >> As I previously mentioned, this is an Access 2003 program. acFormatPDF >> is >> not a valid value (because Access 2003 was unable to create PDFs). >> That's >> the basis of the problem! bob > You really should build specific code. In your case you can and must use > conditional compilation > > http://msdn.microsoft.com/en-us/library/ee691831%28office.14%29.aspx > > mfG > --> stefan <-- The application is distributed in MDE format ... no VBA source arrives with it. bob |