CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: DAO Status

  1. #1
    Join Date
    May 1999
    Location
    Bogotá, Colombia
    Posts
    37

    DAO Status

    What is the property that I can use to return whether a DAO Recordset is opened or closed?

    Thanks,

    Andrew


  2. #2
    Guest

    Re: DAO Status

    If you close recordset, set it to Nothing explicitly, using this sintax:
    Set RS = Nothing.
    Then if you need to know if that recordset exists, you can check it with IsObject function. Something like this:

    If IsObject(RS) then MsgBox "It's alive"




    HTH
    Vlad


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured