Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 4th, 2006, 09:16 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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

 
Old April 4th, 2006, 09:53 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Nancy,

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

Chris

 
Old April 7th, 2006, 08:13 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Chris,
It works now.

Much appreciated.

nancy





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with CDO.Message (CDOSYS) roynaveen Classic ASP Professional 1 March 14th, 2007 07:56 AM
ASP CDO MAIL cullancrothers Classic ASP Professional 2 February 24th, 2006 06:16 PM
ASP CDO.Message difficulty crmpicco Classic ASP Basics 0 March 1st, 2005 07:48 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.