>I have a FoxWeb application that generates a pdf document from a FoxPro report. The pdf gets generated ok, but I always have to use an intermediate page that has:
>
>< A HREF="/pdfs/
#Url.PdfFileName#">Web Query Report PDF Image < /A>
>
>So the user then has to click on the HREF link to then bring up the Adobe acrobat viewer in their web browser.
>
>Is there a way to get rid of the intermediate step and to just tell the browser to open up the PDF?
>Or am I asking too much?
Pointing Browser to a PDF file will open that file. Trick is after back-end finisnes PDF creation it will send a page with script to open a new window with location like "
http://yourwebsite/pdffilename.pdf". That will open that file in that window automatically.
Mark