A question for the MS gurus here, when a form or other object is passed as a formal parameter to a function, does one need to add the object to the clean up code or is the cleanup automatically handled when one exits the function? For example
Function SomeFunction(byref frm as Form)
dim rs as adodb.recordset
blah blah etc
Exit_SomeFunction:
rs.close
set rs=Nothing
-->>> set frm=nothing 'is this needed?
End Function
Thanks,
Kirk
Function SomeFunction(byref frm as Form)
dim rs as adodb.recordset
blah blah etc
Exit_SomeFunction:
rs.close
set rs=Nothing
-->>> set frm=nothing 'is this needed?
End Function
Thanks,
Kirk