K
klj_mcsd
Alright just to get this clear in my head. Which construct is better?
Function getData1()
'Open New Connection object
......
'Close New Connection object
End function
Or
Function getData2()
'Get Shared Connection object
If cn.State = "Open" then
'Use Connection
'Close shared connection
end function
I think you understand where I'm getting at. Thanks
Function getData1()
'Open New Connection object
......
'Close New Connection object
End function
Or
Function getData2()
'Get Shared Connection object
If cn.State = "Open" then
'Use Connection
'Close shared connection
end function
I think you understand where I'm getting at. Thanks