G
Guest
I've heard that regardless of where DIM's are put in a procedure, they are performed at the beginning. Does this mean that the following code will cause a memory leak??
Do I really have to open and close a connection even when I dont want to
Private Sub Test(
If Me.Test = True The
Exit Su
End i
Dim cn as new ADODB.connectio
...
cn.clos
set cn = Nothin
End Sub
Do I really have to open and close a connection even when I dont want to
Private Sub Test(
If Me.Test = True The
Exit Su
End i
Dim cn as new ADODB.connectio
...
cn.clos
set cn = Nothin
End Sub