Hello Guys/Gals
I am a novice to VBA+Access. I am not sure how access/vba handles memory allocation. For example, if I declare variables inside objects (ie forms), are they cleared as soon as the objects are closed? Or do I have to clear this manually, and if so , how(what is the code) would I clear these.
I ask this I have declared arrays and Recordset's in forms, and want to minimise memory use as a good practise (mind you, I am likely to commit million other sins; but hey, I am not a software engineer.
I am a novice to VBA+Access. I am not sure how access/vba handles memory allocation. For example, if I declare variables inside objects (ie forms), are they cleared as soon as the objects are closed? Or do I have to clear this manually, and if so , how(what is the code) would I clear these.
I ask this I have declared arrays and Recordset's in forms, and want to minimise memory use as a good practise (mind you, I am likely to commit million other sins; but hey, I am not a software engineer.