On Feb 17, 2007, at 8:42 AM, Ian Piper wrote:
My question is, should I be calling db.close in the case where db.connect fails? That is, do I have to call db close if I have initialised the database object (db = new REALDatabase) even if I haven't connected to the database? Or do I only have to call db.close if db.connect has succeeded (i.e., as in the code above)?
Call close only when you have connected properly _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
