If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
variable clean-up after module runs????
I am new to Access and I am unsure how to clean-up my variables after I am
done with them. Other programs I have written script for always had a way. I can find nothing for Access. Is this needed or am I looking for something that doesn't exist? |
#2
|
|||
|
|||
variable clean-up after module runs????
VB and VBA usually clean up after themselves. Do not count on object
variables doing that. I usually close Recordsets and set them and other objects to "Nothing": Exit_He rst.Close Set rst = Nothing Set db = Nothing Set objExcel = Nothing as an example. -- Arvin Meyer, MCP, MVP http://www.datastrat.com http://www.mvps.org/access http://www.accessmvp.com "Weeble" wrote in message ... I am new to Access and I am unsure how to clean-up my variables after I am done with them. Other programs I have written script for always had a way. I can find nothing for Access. Is this needed or am I looking for something that doesn't exist? |
Thread Tools | |
Display Modes | |
|
|