Can someone please explain what the problem is with this code?
I have an SP passthrough query and obtain the records with...
This runs fine, if i issue an rs.movelast and then msgbox rs.recordcount, it shows me an accurate record count.
However, as soon as i then try to bind it to the form with ...
I get an error
Why?
Thanks,
1DMF.
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
MIME::Lite TLS Email Encryption - Perl v0.02 beta
I have an SP passthrough query and obtain the records with...
Code:
Dim rs As DAO.Recordset
Set rs = CurrentDb.OpenRecordset("spCommunicatorSearch")
This runs fine, if i issue an rs.movelast and then msgbox rs.recordcount, it shows me an accurate record count.
However, as soon as i then try to bind it to the form with ...
Code:
Me.Recordset = rs
I get an error
Object variable or with block variable not set (91)
Why?
Thanks,
1DMF.
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
MIME::Lite TLS Email Encryption - Perl v0.02 beta