超时odbc问题 [英] Timeout odbc problem

查看:110
本文介绍了超时odbc问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用VBA访问2010来创建包含大量数据的查询,但是我无法使用以下代码设置odbc超时:



Dim mydb作为数据库

设置mydb = CurrentDb()

mydb.QueryTimeout = 0



可以我直接修改了"regedit"。为每种类型的查询设置它?哪个是设置超时的正确VB代码?



谢谢

T

Hi,I'm using VBA with access 2010 to create a query with a lot of data, but I can't set the odbc timeout with this code:

Dim mydb As Database
Set mydb = CurrentDb()
mydb.QueryTimeout = 0

Can I modify directly "regedit" to set it for each type of query??Which is the correct VB code for set the timeout?

Thank you

T

推荐答案

如果超时= 0,那么查询将永远不会有时间运行?
If the timeout =0 then the query would never have time to run?


这篇关于超时odbc问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆