语法-424对象在代码线上所需的错误
我一直在以下代码行上获得424:对象reuqired错误:
If rstCurrent.Fields(1).Value Is Not Null Then
MaxDate = rstCurrent.Fields(1)
End If
这是一个问题的语法。为什么它会在它之前拿起线:
If rstCurrent.Fields.Count > 0 Then
End if
给我正确的表(8)的菲尔德数量,但在上一个错误中出错了?
I keep getting a 424: Object Reuqired error on the following line of code:
If rstCurrent.Fields(1).Value Is Not Null Then
MaxDate = rstCurrent.Fields(1)
End If
Is the syntax for this an issue. Why would it pick up the line before it:
If rstCurrent.Fields.Count > 0 Then
End if
and give me the correct number of feilds for the table (8) but error out on the previous?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用VBA语法:
Use VBA syntax: