Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Record Question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Record Question

 Post Reply Post Reply
Author
Message
nvierros View Drop Down
Groupie
Groupie
Avatar

Joined: 02 July 2006
Location: Australia
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote nvierros Quote  Post ReplyReply Direct Link To This Post Topic: Record Question
    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
 
 
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2007 at 4:33pm
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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.109 seconds.