MS Access - 这个 DCount 语句有什么问题?

发布于 2024-11-15 11:42:11 字数 246 浏览 2 评论 0原文

我收到以下代码行的错误:

DCount("Letter Status","Letter Status","[Letter Status] = 'Received letter'")

我在 Access 2007 中收到的错误说

缺少操作员,但我不知道如何或在哪里。

(字母状态是字段和表的名称(这是一个工作设计,抱歉)

I'm getting an error with the following line of code:

DCount("Letter Status","Letter Status","[Letter Status] = 'Received letter'")

The error I'm getting in Access 2007 says

Missing Operator but I don't see how or where.

(Letter status is the name of the field and the table (it's a working design, sorry)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

聆听风音 2024-11-22 11:42:11

您缺少一些方括号:

 DCount("[Letter Status]","[Letter Status]","[Letter Status] = 'Received letter'")

最好在命名字段和表时不使用空格。

You are missing some square brackets:

 DCount("[Letter Status]","[Letter Status]","[Letter Status] = 'Received letter'")

It is best to name fields and tables without using spaces.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文