ADODB query timeout

后端 未结 3 975
遥遥无期
遥遥无期 2020-12-30 01:34

I am trying to open a query, which is timing out. I have tried setting the timeout property, but it doesn\'t seem to want to accept it.

The query takes 34 seconds to

3条回答
  •  余生分开走
    2020-12-30 02:21

    Not sure if you already got over the problem but I had the same issue. I'm doing it with Recordset.Open SQL_String, Connection.

    And before that I just set the timeout property, not on the Recordset or Command but on the Connection object:

    Connection.CommandTimeout = 0
    

提交回复
热议问题