I have a page where I want to list the number of records found. my recordset is called dbrs2 and I am using the following code.
<input type="text" name="recordcount" size="2" maxlength="2" onFocus="showAnswers()" value="<%=dbrs2.RecordCount%>">
it is displaying -1 in the text box when 3 would be the correct answer. How do I fix this?
<input type="text" name="recordcount" size="2" maxlength="2" onFocus="showAnswers()" value="<%=dbrs2.RecordCount%>">
it is displaying -1 in the text box when 3 would be the correct answer. How do I fix this?