Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks
Public Function getRows(tbl As String) Dim qdf As DAO.QueryDef Dim db As Database Set db = CurrentDb() Set qdf = db.QueryDefs(tbl) >>>>>>>> Error's Here r = qdf.OpenRecordset.RecordCount 'MsgBox r Set rs = Nothing Set db = Nothing getRows = r End Function
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.