I'm trying to work with a recordset into a public function of a module
I have
function nameOfFunction(rs as dao.recordset)
If rs.RecordCount = 0 Then
MsgBox "no records yet"
Exit Function
End If
end function
outside on the button on a form I have
Dim rs As DAO.Recordset
Set rs = Me.RecordsetClone
call nameOfFunction(rs)
msgbox "Check done"
however this does not work - can anyone help me out please...