Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export an Access 2000 report to pdf file using visual basic

Status
Not open for further replies.

sb

Programmer
Apr 14, 2000
3
FR
I use VB 6 and Acrobat 4.
I need to export Access reports to PDF files using VB. I can't use the "Acrobat PDFWriter" because it asks interactively for the file name. There is no way to "export as pdf file" from within Access.
Do you know if an ActiveX exists to do that? Or another idea?

Thanks a lot,
SB.
 
define a good postscript printer in windows and select print-to-file

You can then convert the postscript *.prn to a *.pdf using ghostscript


I hope you have a week or two to figure it all out!!! :)
 
Thank's to mpitts and Mick for your participation.
I've solved my problem using the PDF Distiller, changing the default printer to it. There is to user prompt for the file name, the file is sent by default to a special directory called PDF Output. In the code I wrote a loop to wait for the file beeing created. Then I just move it to the right place with the right name.Thank's again,
Sylvie.
 
Oops, I meant "There is NO user prompt for the file name"...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top