Re: close recordset before nothing
From: Val Mazur (group51a_at_hotmail.com)
Date: 06/01/04
- Next message: Val Mazur: "Re: Help on Connection Code"
- Previous message: Val Mazur: "Re: ado connection error"
- In reply to: Vicky: "close recordset before nothing"
- Next in thread: Vicky: "Re: close recordset before nothing"
- Reply: Vicky: "Re: close recordset before nothing"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 1 Jun 2004 18:17:00 -0400
Hi Vicky,
If you do not do this, then you might experience a memory leaks. In VB6
there is no garbage collector as in .NET, so most likely recordset resources
will reserve memory until you exit application. It is always a good idea to
release resources and it does not require big coding.
-- Val Mazur Microsoft MVP "Vicky" <vicky@hh.com> wrote in message news:eeC98P6REHA.1312@TK2MSFTNGP12.phx.gbl... > Its is always said closing a recordset before setting it to nothing is > good > practice. Why is it so and what actually is happening behind when we do so > > Thnaks > >
- Next message: Val Mazur: "Re: Help on Connection Code"
- Previous message: Val Mazur: "Re: ado connection error"
- In reply to: Vicky: "close recordset before nothing"
- Next in thread: Vicky: "Re: close recordset before nothing"
- Reply: Vicky: "Re: close recordset before nothing"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|