SyntaxFix
Write A Post
Hire A Developer
Questions
I would check the "End of File" flag:
If temp_rst1.EOF Or temp_rst2.EOF Then MsgBox "null"