Hello folks

Im having a problem with a hyperlink to a PDF file, Code Snippet 1 below works fine, the PDF doc opens up fine in a browser window.

Code Snippet 2 is causing me some problems, when you click you get a dialog box to open or save, I need this to open up within a browser window as in Snippet 1.

Snippet 2 is as you see a recordset field, cant see to figure it out!

Can anyone help me please!

Thanks in advance


Code Snippet 1

<a href="../../../AtkinsClosure.pdf" target="_blank">Click to open </a>

Code Snippet 2

<a href="<%=tNG_downloadDynamicFile("../../../", "../uploads/newsletters/", "{Recordset1.LinkURL}")%>" target="_blank" class="Arial13White">Download PDF</a>