I have an ADP Project in MsAccess XP, with an MSSQL-backand (MSDE).
I would like to set the Connection of the project from VBA, so all the
forms and reports can use it. Normally, I set this through the
File->Connection menu, but if the network connection falls away for a
moment, I have to reconnect manually. I would like to reconnect
automatically with VBA.
I've tried using CurrentProject. Connection.Open and
CurrentProject. Connection.Conn ectionstring, but that didn't work well.
Thanks in advance,
Ol!v!é
I would like to set the Connection of the project from VBA, so all the
forms and reports can use it. Normally, I set this through the
File->Connection menu, but if the network connection falls away for a
moment, I have to reconnect manually. I would like to reconnect
automatically with VBA.
I've tried using CurrentProject. Connection.Open and
CurrentProject. Connection.Conn ectionstring, but that didn't work well.
Thanks in advance,
Ol!v!é
Comment