M
Mark A. Sam
Hello,
Is there any memory issue with using the format:
Dim rst as Recordset
Set rst = CurrentDB.OpenRecordset("RecordSet Name",dbOpenDynaset)
some code
Set rst = Nothing
as opposed to setting a Database Variable then setting that Variable to
Nothing at the end of the procedure, like:
Dim dbs as Database
Dim rst as Recordset
Set rst = dbs.OpenRecordset("RecordSet Name",dbOpenDynaset)
Some code
Set rst = Nothing
Set dbs = Nothing
Thanks and God Bless,
Mark A. Sam
Is there any memory issue with using the format:
Dim rst as Recordset
Set rst = CurrentDB.OpenRecordset("RecordSet Name",dbOpenDynaset)
some code
Set rst = Nothing
as opposed to setting a Database Variable then setting that Variable to
Nothing at the end of the procedure, like:
Dim dbs as Database
Dim rst as Recordset
Set rst = dbs.OpenRecordset("RecordSet Name",dbOpenDynaset)
Some code
Set rst = Nothing
Set dbs = Nothing
Thanks and God Bless,
Mark A. Sam