Full Version: Assigning Path and File Name?
UtterAccess Discussion Forums > Microsoft® Access > Access Reports
Mink
Using the information at The Access Web I was able to finally get the report to print out as pdf without having to install anything that doesn't already exist on all the computers in our network. However when using the code I am prompted with a box to select the destination and name the file. Is there a way to set that in the code so that I can bypass this box? And also can I supress Adobe previewing the file after printing it?

The emailing of the file is supposed to be seamless. I wish to save the file to a temporary directory, then mail it. After mailing it I will kill the directory and the file.

All help is appreciated!
Mink
Mink
Can anyone help with this?
Mink
QUOTE
In your Winini file, add a section like this, if it doesn't already exist:
[Acrobat PDFWriter]
PDFFilename=C:\(path)\pdftemp.doc
bDocInfo=0

If this section does not exist, create it. Put it right after the [Ports] section. The file name line will get your path and pdffilename; the bDocInfo line sets a switch so that you won't get the dialogbox when you print to pdf.


That apparently is what my problem is. I cannot alter the win.ini file on my system, I do not have that kind of permission. And though I can ask my techies, there are very many computers on my network that would have to be changed. Is there a way to change this programatically?
MaryN
Mink, did you ever find a solution to your problem? I'm in exactly the same boat right.

Mary
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.