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'