|
-
Sep 25th, 1999, 06:03 PM
#1
Thread Starter
Addicted Member
I am designing an application that uses DAO objects in code to reference a database.
This application will be running all day ie. 8am - 5pm, but may only be used for maybe 20 mins every couple of hours or so.
My question is, is it more resource friendly to initilise 1 global recordset object at the start and leave it open all day, whether it is needed or not, Or
to keep opening and closing recordsets when they are needed.
I would be happy to give you more information on the specifics of my application if you feel it is relevant
-
Sep 27th, 1999, 12:46 AM
#2
Frenzied Member
It's just memory. I will open once for as long as I need mainly because it minimizes the *chance* of memory leaks.
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
|