将SQL语句作为记录集打开,错误[3001]:无效的争论 [英] Open SQL statement as a recordset, error [3001]: Invalid Arguement

查看:81
本文介绍了将SQL语句作为记录集打开,错误[3001]:无效的争论的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下代码使用查询作为数据集。我过去使用过这段代码,效果很好。但是,它现在生成错误[3001]:无效的争论。


任何建议都是appreaciate:

展开 | 选择 | Wrap | 行号

解决方案

您应该在代码中设置停靠点并单步执行以查找错误。如果我不得不猜测你的问题,我会说你错过了一条你声明的行:

展开 | 选择 | Wrap | 行号

代码错误

展开 | 选择 | 包裹 | 行号


数据链接到后端访问数据库。


The code below uses a query as a dataset. I have used this code in the past and it works fine. However, it is now generating a error [3001]: Invalid Arguement.

any suggestions would be appreaciate:

Expand|Select|Wrap|Line Numbers

解决方案

You should be putting stops in your code and stepping through to find the error. If I had to take a guess at your problem, I''d say you''re missing a line where you declare:

Expand|Select|Wrap|Line Numbers


the code errors at

Expand|Select|Wrap|Line Numbers


the data is linked to a back-end access db.


这篇关于将SQL语句作为记录集打开,错误[3001]:无效的争论的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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