Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,035 of 10,840    |
|    David C. Barber to All    |
|    Setting Recordsets to Nothing in VB6    |
|    01 Dec 04 21:50:46    |
      From: david@NOSPAMdbarber.com              Why is it that after I close an ADO recordset defined locally               Dim adoRS as New ADODC.Recordset              that so many examples insist that I should set it to nothing as well?               adoRS.Close        Set adoRS = Nothing        Exit Sub              Isn't it sufficient to have it go out of scope when I exit the subroutine?              Thanks!               *David*              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca