% dim ObjRs, strSQL, Txt, cnt, Colour, strWord, strPDF, strWordPath, strPDFPath 'Create the Recordset object set ObjRs = server.CreateObject("ADODB.Recordset") 'Open the connection to the database 'Conn.Open strCon strSQL ="SELECT Title,Description,WordDocument,PDFDocument from downloads where Active=-1" ObjRs.open strSQL,conn,3,1 'Response.Write("Total Records : " & objRs.Recordcount) 'Response.End() %>