cawthor Report post Posted June 4, 2007 I am following the drill-down example using ASP in the evaluation version. In order to call the detail graph, you use the following syntax to set up the links: strXML = strXML & "<set label='" & ors("FactoryName") & "' value='" & ors2("TotOutput") & "' link='updateChart(" & oRs("FactoryId") & ")'/>" When calling the 'updateChart' function, I want to pass a date value, so it needs to be quoted. How do I correctly add quotes around the date value without terminating the string? This is what I'm trying to do, but adding the single quotes around the date value terminates the string being built. I've tried various ways of escaping the quotes, like '', /'...etc. strXML = strXML & "<set label='" & RS("SYS_DATE") & "' color='ABC4D6' value='" & RS("AMOUNT") & "' link='updateChart('5/27/2007')'/>" Share this post Link to post Share on other sites
Pallav Report post Posted June 6, 2007 Please use the ascii code of the quote. We've demo-ed this in our blueprint application. Share this post Link to post Share on other sites