ODBCConnection

I have a script library that makes an ODBCConnection (DbConnect) and passes back the con object to the calling script:

Set con = DbConnect

I know we’re connected to the database but subsequent sql calls fail. Is there a trick to passing back the ODBCConnection object?