Access VBA 64 位中的 Now() 函数
我的公司刚刚将 MS Office 更新到最新的 365 版本,现在我在 Access VBA 中遇到问题。 以下查询不再有效
SELECT Tbl_Customers.Name, Tbl_Customers.*, * FROM Tbl_Customers WHERE (((Tbl_Customers.CustomerType)=1) AND ((Tbl_Customers.NextAppointment)>Now()));
它会引发编译器错误,因为看起来函数 Now() 不再被识别。
我用谷歌搜索过,但找不到任何有用的信息。
My company just updated MS Office to the latest 365 version and now I have an issue in Access VBA.
The following query is not working any longer
SELECT Tbl_Customers.Name, Tbl_Customers.*, * FROM Tbl_Customers WHERE (((Tbl_Customers.CustomerType)=1) AND ((Tbl_Customers.NextAppointment)>Now()));
It throws me a compiler error because it seems the function Now() is not recognised any longer.
I have googled it but I cannot find any useful information about that.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我刚刚发现缺少一些
Declare PtrSafe Function...
。查询现在再次运行。I have just found out that a few
Declare PtrSafe Function...
were missing. The query is working again now.