简体   繁体   English

未定义 function 表达式中的 dcount

[英]undefined function dcount in expression

I am using Access 2016. I am using dcount in my query however I am getting this error "undefined function dcount in expression".我正在使用 Access 2016。我在查询中使用 dcount 但是我收到此错误“未定义的 function dcount in expression”。 Any idea how can I fix this issue?知道如何解决这个问题吗? here is my syntax SELECT Table1.Supplier, Table1.Spec, DCount("[Supplier]","[Table1]","[Supplier]='" & Table1.Supplier & "'") AS SupplierDuplicate FROM Table1;这是我的语法 SELECT Table1.Supplier, Table1.Spec, DCount("[Supplier]","[Table1]","[Supplier]='" & Table1.Supplier & "'") AS SupplierDuplicate FROM Table1;

Thank you.谢谢你。

Most likely you are missing references in your project.您很可能在项目中缺少参考资料。 Press ALT+F11 to open the Microsoft Basic for Applications IDE, then go to Tools menu, References and make sure there are no required libraries missing.按 ALT+F11 打开 Microsoft Basic for Applications IDE,然后按 go 到工具菜单,参考并确保没有缺少所需的库。

在此处输入图像描述

Im getting an error when i am using a database on a particular computer and Access keep telling me that there's an undefined function 'DSum' in Expression.当我在特定计算机上使用数据库时出现错误,Access 不断告诉我表达式中有未定义的 function 'DSum'。 I already look for 'Missing' references and i didn't find.我已经在寻找“缺失”的参考资料,但没有找到。 Can someone help, please?有人可以帮忙吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM