RecordCount and Math Operations in ASP
Posted on 2005-05-04
I hardcoded a number (Total) to subtract the recordcount from. Now, I want to use a number from a field instead so we can just change the total in the database instead of using a hardcoded number like I am using here...
Total = 101 (I NEED TO MAKE 101 READ FROM A FIELD VALUE (rs.QTY) INSTEAD)
Response.Write "" & rs.RecordCount%>
<%Response.Write "" & CStr(Total - rs.RecordCount)%> (I TRIED RS.QTY HERE IT DIDNT WORK..)