Question

When I run the query through VB6, I am getting error as "Time Out Expired"

For ADO Connection, I used addConn.CommandTimeout = 1000

For RDO Connection, How can i used CommandTimeout..?

Was it helpful?

Solution

The equivalent in RDO is the QueryTimeout

It can be set (in seconds) as below:

rdoConnection.QueryTimeout = 60
rdoPreparedStatement.QueryTimeout = 60
rdoQuery.QueryTimeout = 60
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top