CDOSYS

O

Oli

Hi

Using CDOSYS to send email:

Code:
strHTML = strHTML & "<td><b><font face=Verdana size=1
color=#FF0000>&nbsp;<%=RSlist("pNumber")%></font></b></td>"

This does not work! Putting <%=RSlist("pNumber")%> in above give the error:

Error Type:
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/connect.asp, line 56, column 85

Any ideas? Reason it's doing it (I think) is because I am trying to put ASP
within ASP!
What is the correct way to do this?

TIA
Oli
 
C

Chris Hohmann

Oli said:
Hi

Using CDOSYS to send email:

Code:
strHTML = strHTML & "<td><b><font face=Verdana size=1
color=#FF0000>&nbsp;<%=RSlist("pNumber")%></font></b></td>"

This does not work! Putting <%=RSlist("pNumber")%> in above give the error:

Error Type:
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/connect.asp, line 56, column 85

Any ideas? Reason it's doing it (I think) is because I am trying to put ASP
within ASP!
What is the correct way to do this?

TIA
Oli

strHTML = strHTML &_
"<td><b><font face=Verdana size=1 color=#FF0000>&nbsp;" &_
RSlist("pNumber") &_
"</font></b></td>"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top