Hi,
I have read that VBA doesn't have garbage collection?
I assume it must destroy objects with no references some how?
I was wondering, that if I declare a variable within an event handler of a form such as 'on open', which contains recordset variables and other class objects.
I'm assuming that as they are not in the scope to set them to nothing via the event 'on close'.
Can you confirm if all variables and objects created within a scope of 'form open' are destroyed / garbage collected when the form is closed?
Thanks,
1DMF.
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
MIME::Lite TLS Email Encryption - Perl v0.02 beta
I have read that VBA doesn't have garbage collection?
I assume it must destroy objects with no references some how?
I was wondering, that if I declare a variable within an event handler of a form such as 'on open', which contains recordset variables and other class objects.
I'm assuming that as they are not in the scope to set them to nothing via the event 'on close'.
Can you confirm if all variables and objects created within a scope of 'form open' are destroyed / garbage collected when the form is closed?
Thanks,
1DMF.
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
MIME::Lite TLS Email Encryption - Perl v0.02 beta