dbTalk Databases Forums  

rst status...

comp.database.ms-access comp.database.ms-access


Discuss rst status... in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kurt Blom
 
Posts: n/a

Default rst status... - 11-04-2004 , 04:14 AM






Hia all,

In a project, a recordset is openend. In the program flow, it happens
that the rst is closed in other procedures. If I trie to close the rst
again, I get an error maessage.
Is there a way to check if a rst is open or close rst = nothing or is ""
(I tried but it didn't work...)???

Thanks in advance,

Kurt.

Reply With Quote
  #2  
Old   
Ken Snell
 
Posts: n/a

Default Re: rst status... - 11-04-2004 , 07:44 AM






If Not rst Is Nothing Then rst.Close


--

Ken Snell
<MS ACCESS MVP>

"Kurt Blom" <Kurt.Blom (AT) UGent (DOT) be> wrote

Quote:
Hia all,

In a project, a recordset is openend. In the program flow, it happens
that the rst is closed in other procedures. If I trie to close the rst
again, I get an error maessage.
Is there a way to check if a rst is open or close rst = nothing or is ""
(I tried but it didn't work...)???

Thanks in advance,

Kurt.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.