When I initiate the code, and uses the word Dim like for an example:
Dim FieldName as Long
Dim RecordsetName as Recordset
"Some code underneeth, where both objects are beeing used."
"At the end of the code:"
FieldName = Nothing
RecordsetName = Nothing
------
end of code
When I program in C++ I need to stop the objects that I have generated in the code.
This is so that the object doesn't use any of the available memory of the running computer.
Do I have to do the same thing with VBA, and
was it been done, if I set the objects value to Nothing, at the end of the code?
Thanks very much.
Dim FieldName as Long
Dim RecordsetName as Recordset
"Some code underneeth, where both objects are beeing used."
"At the end of the code:"
FieldName = Nothing
RecordsetName = Nothing
------
end of code
When I program in C++ I need to stop the objects that I have generated in the code.
This is so that the object doesn't use any of the available memory of the running computer.
Do I have to do the same thing with VBA, and
was it been done, if I set the objects value to Nothing, at the end of the code?
Thanks very much.