|
-
Dec 1st, 2001, 12:34 AM
#1
Thread Starter
Member
memory implications
i just wanted to know the difference and the amount of meory we save in these two statements.
suppose i have
dim rs as adodb.recordset
now i the open the recordset.
and when i m finished i close it.
rs.close
but i do not set rs=nothing like this
set rs=nothing.
i know by setting rs=nothing i release the memory i have used for the recordset.
but then by writing rs.close
do i have any advantage.
what happens exactly when i write rs.close.
is there any memory i m saving in that way.
actually i do not want to set my recordset to nothing now, bcoz i know i have to use it a little later.
so will closing the recordset be of any use or i should leave it open.
i will be thankful for any help.
bye
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|