p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Classic ASP Professional (http://p2p.wrox.com/forumdisplay.php?f=63)
-   -   Problems with CDO and ASP (http://p2p.wrox.com/showthread.php?t=40764)

nancy April 4th, 2006 09:16 AM

Problems with CDO and ASP
 
Hi I'm trying to create an email notification that incldues a "dynamic" link to a newly created EXCEL sheet. But something's wrong with my syntax (quatation marks I'm sure! )

Please review and forward your recommendations:

here's the line that is a probelm (obviously you'll need to copy into a file whic hwon't cause it to wrap as in this form field.):

strHTML = strHTML & "<a href="""<%=g_filename%>".xls"" target=""_blank"">here</a>"

Thank you for your help in this matter,
nancy


ChrisScott April 4th, 2006 09:53 AM

Hi Nancy,

Try
Code:

strHTML = strHTML & "<a href=""" & g_filename & ".xls"" target=""_blank"">here</a>"
HTH,

Chris


nancy April 7th, 2006 08:13 AM

Thanks Chris,
It works now.

Much appreciated.

nancy


All times are GMT -4. The time now is 09:01 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.