DAO记录集问题 [英] DAO Recordset Problem

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

问题描述

我正在尝试使用存储在Access 07中的查询来填充记录集。我基本上从帮助文件中复制了关于如何执行此操作的行,但替换了我自己的信息 -

I''m trying to populate a recordset with a query I have stored in Access 07. I basically copied the lines from the help file on how to do this but substituted my own info -

展开 | 选择 | Wrap | 行号

推荐答案

如果您使用会发生什么:
What happens if you use:
展开 | 选择 | Wrap | 行号


无法正常工作,但我想我可能已经弄清楚了。查询本身具有对特定表单上的控件的引用。编辑出来,但我遇到了另一个类型不匹配的问题,我假设这与查询添加和减去日期字段的事实有关。

Didn''t work, but I think I may have figured it out. The query itself has references to controls on a specific form. Edited that out, but I''m running into another problem with type mismatches that I''m assuming is related to the fact that the query is adding and subtracting a date field.

展开 | 选择 | Wrap | 行号


我在VBA中没有收到错误,例如:
I don''t get an error in VBA from, for example:
展开 | 选择 | Wrap | 行号


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

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