Find antal poster i et record set?
Hvordan finder jeg antallet af poster i et record set.Set objRs = Server.CreateObject("ADODB.Recordset")
objRs.Open "SELECT TestData.FullName, TestData.Email, TestData.CountryName FROM TestData ", strConnect
Jeg har forsøgt med:
dim msgCounter
msgCounter = 0
do until objRs.eof
'response.write objRs("Testdata.FullName")
msgCounter = msgCounter +1
objRs.movenext
loop
Response.write msgCounter
Men det virker ikke!