yeah of course, just declare it within a Module.
So in a module...
Dim DBConn as ADODB.Connection
You will need to initialise/set the connection somewhere in your startup code..
Set DBConn = New ADODB.Connection
DBConn.ConnectionString = "...."
DBConn.Open
Hope this helps,
Rob
The Developing Developer
Currently Working Towards:
MCAD C#
My Blog: http://www.robzyc.spaces.live.com
<center>
"Nothing can stop the man with the right mental attitude from achieving his goal;
nothing on earth can help the man with the wrong mental attitude".
Thomas Jefferson</center>