J
JimP
I have a query ("ReportNames") that displays (3) records when opening it,
yet the code below shows NbrRecs =1.
How can this be?
Sub Testing1()
Dim db As DAO.Database
Dim rs As DAO.Recordset
Set db = CurrentDb
Set rs = db.OpenRecordset("ReportNames")
NbrRecs = rs.RecordCount
Set rs = Nothing
End Sub
yet the code below shows NbrRecs =1.
How can this be?
Sub Testing1()
Dim db As DAO.Database
Dim rs As DAO.Recordset
Set db = CurrentDb
Set rs = db.OpenRecordset("ReportNames")
NbrRecs = rs.RecordCount
Set rs = Nothing
End Sub