Previous | Next | (P-PDF) Acrobat 7
Topic: Linking to Specific PDF Page from file stored in Database
Conf: (P-PDF) Acrobat 7, Msg: 126480
From: dhmurovich
Date: 1/28/2005 01:49 AM
Thank you for the reply. I found that if I add the page request in the querystring of the page that accesses the DB, it will open the PDF from the DB and display the proper page.
viewPDF.asp#page=23
with code:
strSQL = "SELECT * FROM pdfTable WHERE pdfID = " & strFileName
Set rsPDF = connString.Execute(strSQL)
Response.Clear
Response.ContentType = "application/pdf"
Response.BinaryWrite rsPDF("pdfFile")
Response.End
It's a little slower, but gets the job done.