K
Ken Fine
I'm trying to include a list of people that's the result of looping through
a recordset in a CDONTS mail. I'm trying to Dim the output of a loop, and it
ain't working -- I'm getting a syntax error. Any ideas why the following
snippet isn't working?
<%
Dim ConfirmedSpeakerList2
ConfirmedSpeakerList2=(While ((Repeat1__numRows <> 0) AND (NOT
rsConfirmedSpeakers.EOF))
(rsConfirmedSpeakers.Fields.Item("Per_GivenName").Value)
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
rsConfirmedSpeakers.MoveNext()
Wend)%>
<%Response.Write ConfirmedSpeakerList2%>
I have the feeling I may be about to learn an unfortunate lesson, but...
wait and see.
Are there other ways that I could get looped output embedded in a CDONTS
mail? I thought trying to Dim the output of the recordset as a big long
string would be the cleanest way to make this happen.
Many thanks.
a recordset in a CDONTS mail. I'm trying to Dim the output of a loop, and it
ain't working -- I'm getting a syntax error. Any ideas why the following
snippet isn't working?
<%
Dim ConfirmedSpeakerList2
ConfirmedSpeakerList2=(While ((Repeat1__numRows <> 0) AND (NOT
rsConfirmedSpeakers.EOF))
(rsConfirmedSpeakers.Fields.Item("Per_GivenName").Value)
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
rsConfirmedSpeakers.MoveNext()
Wend)%>
<%Response.Write ConfirmedSpeakerList2%>
I have the feeling I may be about to learn an unfortunate lesson, but...
wait and see.
Are there other ways that I could get looped output embedded in a CDONTS
mail? I thought trying to Dim the output of the recordset as a big long
string would be the cleanest way to make this happen.
Many thanks.