setting CommandTimeout for CurrentProject.Connection

D

Daniel

Hi,

I need to increase CommandTimeout but cant do this with
CurrentProject.Connection object.
The following code i tryed is:

CurrentProject.Connection.CommandTimeout = 90
CurrentProject.OpenConnection ConnStr, UserName, pwd

This doesn't do the job.
I also tried this -

CurrentProject.Connection.CommandTimeout = 90
CurrentProject.Connection.ConnectionString = ConnStr
CurrentProject.OpenConnection

nothing works.... :-(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top