SHARE
TWEET

Untitled

a guest Jun 20th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Dim rs as ADODB.Recordset
  2. set rs = ReturnARecordset 'assume ReturnARecordset does just that...
  3.  
  4. 'do something with rs
  5.  
  6. rs.Close
  7. set rs = Nothing
  8.      
  9. Dim rs as ADODB.Recordset
  10. Set rs = ReturnARecordset
  11. ...
  12. MyControl.ObscureMethod rs
  13. ...
  14. Set rs = Nothing
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top