Test for Recordset = Nothing?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DagJ
    New Member
    • Nov 2012
    • 2

    Test for Recordset = Nothing?

    Sorry folks, none of the suggestions above (not even the claimed failsafe ones) will work if the recordset is set to Nothing.
    How do you test for that?
  • TheSmileyCoder
    Recognized Expert Moderator Top Contributor
    • Dec 2009
    • 2322

    #2
    What suggestions above?????

    Code:
    Dim rs as Dao.Recordset
    If rs is Nothing then
      Msgbox "Recordset is set to nothing"
    End If

    Comment

    Working...