I don't know how to use this as well as i don't know if this is the right one for my job? All i want is to count how many records i display already on a page found on a database through query?
All i have is:
strSQL = "SELECT p.id as pide,.................."
oRecord.PageSize = 30
oRecord.Open strSQL, oConnect, 3
if ((oRecord.eof) and (oRecord.bof)) then .................
oRecord.MoveFirst
if orecord.eof then exit for
if ISNULL(oRecord("ID") then
Response.Write "<td align=middle>" & spc & "<p>&nbsp;</td>"
else
Response.Write "<td align=middle><align=center> " & Record ("ID" & " &nbsp;</td>"
end if
I included that as example of how im calling the query and how as well im printing on the browser my record results.
I don't know HOW and WHERE should i use the RECORDCOUNT thing to count my results number?????
please help
ZAC
All i have is:
strSQL = "SELECT p.id as pide,.................."
oRecord.PageSize = 30
oRecord.Open strSQL, oConnect, 3
if ((oRecord.eof) and (oRecord.bof)) then .................
oRecord.MoveFirst
if orecord.eof then exit for
if ISNULL(oRecord("ID") then
Response.Write "<td align=middle>" & spc & "<p>&nbsp;</td>"
else
Response.Write "<td align=middle><align=center> " & Record ("ID" & " &nbsp;</td>"
end if
I included that as example of how im calling the query and how as well im printing on the browser my record results.
I don't know HOW and WHERE should i use the RECORDCOUNT thing to count my results number?????
please help
ZAC