I want to count the number of records present in a table. So, for that I gave the statement as :
qosSql = "SELECT * From tblMonthlySub"
qosRs.Open qosSql, qosConn, 3, 3, 1
MsgBox (qosRs.RecordCount)
although there are more than 300 records present in the table but it's always showing '-1' in the message box. Can anybody suggest what is the problem???? Thanks a lot.
qosSql = "SELECT * From tblMonthlySub"
qosRs.Open qosSql, qosConn, 3, 3, 1
MsgBox (qosRs.RecordCount)
although there are more than 300 records present in the table but it's always showing '-1' in the message box. Can anybody suggest what is the problem???? Thanks a lot.