I am new to ASP and not quite sure what I am doing wrong. I have a webpage, main.htm, and I want to display the number of records that are listed in my address book database. All the records are stored in tblMain. The DSN is Address. Here is the code that I am using:<BR><BR><%<BR>Set conn = Server.CreateObject("ADODB.Connection")<BR>DSNtemp = "DSN=Address;"<BR>conn.Open DSNtemp%><BR><%<BR>Set rsCount= Server.CreateObject("ADODB.Recordset") <BR>CountSql = "SELECT* FROM tblMain<BR>rsCount.open CountSql, conn,1,3<BR>response.write "" & rsCount.RecordCount<BR>%><BR>There are <%response.write "" & rsCount.RecordCount%> people listed in the address book.<BR><BR><BR>I copied and pasted parts from the internet and did some searches on google, but I am not having too much luck. Can anyone point out what is wrong with that code?