I'm still struggling with this:
strSql = "SELECT F_SUBJECT FROM FORUM_FORUM WHERE FORUM_ID IN (" & clients & ") ORDER BY F_SUBJECT DESC "
Set rs2 = Server.CreateObject("ADODB.Recordset")
rs2.Open strSql, my_Conn, adOpenForwardOnly, adLockReadOnly, adCmdText
if not rs2.EOF then
customer = rs2.GetRows(adGetRowsRest)
For iRowLoop = 0 to UBound(customer, 2)
For iColLoop = 0 to UBound(customer, 1)
customerArray = ("'" & customer(iColLoop, iRowLoop) & "',")
response.Write customerArray
customerArray = left(customerArray,len(customerArray)-1)
response.Write customerArray
Next
Next
end if
rs2.Close
Set rs2 = Nothing
response.Write customerArray
I'm trying to get a string of Forum Subject Names available outside this bit of code as a variable in the following format eg. 'Forum_name1','Forum_name2','forum_Name3'
At my first response.write I get 'Forum_Name1','Forum_Name2','Forum_name3',
At my 2nd response.write I get 'Forum_Name1''Forum_Name2''Forum_name3'
At my 3rd response.write I get only 'Forum_Name1' ..single value
Which brings me back to where I started...
Where is my error please.