NauticalGent
Ignore List Poster Boy
- Local time
- Today, 06:38
- Joined
- Apr 27, 2015
- Messages
- 7,099
Thanks Col, really appreciate you putting your antique through hell for our benefit!
I guess to truly test the Mr. Dettman is saying would be to implement his Sub and call it instead of Setting a variable to Currentdb.
I did just that but didn’t notice any difference as a user. But then when your measuring in MS, the difference is going to be almost impossible to notice.
As a side note to this thread, I came across a similar thread on a google group where two hotshots started off talking about dbEngine(0)(0) vs Currentdb and it mutated into the need to destroy RS and DB variables by setting them to Nothing. Both agrees that they only lived for the duration of your routine (unless) you made them Global. The parting of the ways was whether or not it should be done for the sake of conceptual sound conceptual programming.
Got a little heated and I couldn’t stop reading. Rivaled our best water-cooler threads...
I guess to truly test the Mr. Dettman is saying would be to implement his Sub and call it instead of Setting a variable to Currentdb.
I did just that but didn’t notice any difference as a user. But then when your measuring in MS, the difference is going to be almost impossible to notice.
As a side note to this thread, I came across a similar thread on a google group where two hotshots started off talking about dbEngine(0)(0) vs Currentdb and it mutated into the need to destroy RS and DB variables by setting them to Nothing. Both agrees that they only lived for the duration of your routine (unless) you made them Global. The parting of the ways was whether or not it should be done for the sake of conceptual sound conceptual programming.
Got a little heated and I couldn’t stop reading. Rivaled our best water-cooler threads...