Hi
I've got the following for an AtoZ page. problem is it is only displaying the first record it finds - if i use response.write it does display all the records
any ideas ?
thanks
keith
if not rsOutput.EOF and bValid = true then
rsOutput.Sort = "az_keywords ASC"
rsOutput.MoveFirst
Do Until rsOutput.EOF
if rsOutput("az_keywords") <> "" then
tempBODY = "<SPAN CLASS = ""plaintext"">"
tempBODY = tempBODY & "<a href='ILINK|" & rsOutput.Fields("id") & ",|'>" & rsOutput.Fields("az_keywords") _ & "</a><br />"
end if
if rsOutput.Fields("description") <> "" then
tempBODY = tempBODY & rsOutput.Fields("description") & "<br />"
end if
tempBODY = tempBODY & "<br />"
tempBODY = tempBODY & "</SPAN>"
rsOutput.MoveNext
Loop
end if
I've got the following for an AtoZ page. problem is it is only displaying the first record it finds - if i use response.write it does display all the records
any ideas ?
thanks
keith
if not rsOutput.EOF and bValid = true then
rsOutput.Sort = "az_keywords ASC"
rsOutput.MoveFirst
Do Until rsOutput.EOF
if rsOutput("az_keywords") <> "" then
tempBODY = "<SPAN CLASS = ""plaintext"">"
tempBODY = tempBODY & "<a href='ILINK|" & rsOutput.Fields("id") & ",|'>" & rsOutput.Fields("az_keywords") _ & "</a><br />"
end if
if rsOutput.Fields("description") <> "" then
tempBODY = tempBODY & rsOutput.Fields("description") & "<br />"
end if
tempBODY = tempBODY & "<br />"
tempBODY = tempBODY & "</SPAN>"
rsOutput.MoveNext
Loop
end if