Dear Experts,

How do I add a double-quote (") into my string as follow instead of using a
single quote?

Old:
strBodyText = "<HTML><BODY>" & "<FORM Name='frmReminderReport' METHOD='POST'
action='\teknion\leave_system\ReminderReport.asp'><TABLE
Border=1><TR><TD>Supervisor</TD><TD>" & rsDistinctSupervisor("Supervisor") &
"</TD></TR>"

New:
strBodyText = "<HTML><BODY>" & "<FORM Name="frmReminderReport" METHOD="POST"
action="\teknion\leave_system\ReminderReport.asp"><TABLE
Border=1><TR><TD>Supervisor</TD><TD>" & rsDistinctSupervisor("Supervisor") &
"</TD></TR>"


Many thanks in advance.

Re: Adding double quote in string by Hal

Hal
Sun Nov 06 20:02:44 CST 2005

just double-up the quotes in the string like this.
Dim myString
myString = "Jim said ""Hello"" as he rode by."
<%= myString%>
(Displays as follows):
Jim said "Hello" as he rode by.

"Seok Bee" <seokbee@yahoo.com> wrote in message
news:5C24B7A0-0C1B-4EB9-8428-8DAE8AC6DEF4@microsoft.com...
> Dear Experts,
>
> How do I add a double-quote (") into my string as follow instead of using
a
> single quote?
>
> Old:
> strBodyText = "<HTML><BODY>" & "<FORM Name='frmReminderReport'
METHOD='POST'
> action='\teknion\leave_system\ReminderReport.asp'><TABLE
> Border=1><TR><TD>Supervisor</TD><TD>" & rsDistinctSupervisor("Supervisor")
&
> "</TD></TR>"
>
> New:
> strBodyText = "<HTML><BODY>" & "<FORM Name="frmReminderReport"
METHOD="POST"
> action="\teknion\leave_system\ReminderReport.asp"><TABLE
> Border=1><TR><TD>Supervisor</TD><TD>" & rsDistinctSupervisor("Supervisor")
&
> "</TD></TR>"
>
>
> Many thanks in advance.
>