Record Question |
Post Reply |
Author | |
nvierros
Groupie Joined: 02 July 2006 Location: Australia Status: Offline Points: 44 |
Post Options
Thanks(0)
Posted: 22 September 2007 at 10:53am |
Hi,
I have noticed in all your samples that when you instantiate a record e.g:
Dim Record as ReportRecord
Set Record = Nothing is never called. Is there a reason for this, isn't this bad practice to never destroy the object?
A response would be much appreciated.
Cheers
Nick
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Hi Nick,
In those sample there is no need to explicitly destroy created objects. References to them are whether passed to Record's collections and properties (and it handles them by itself) or automatically destroyed when exiting corresponding methods or procedures. -- WBR, Serge |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |