访问编译错误 [英] Access Compile Error

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

问题描述

尝试使用最简单的VBA代码,但无法使其正常工作。尝试了下面的两种方法(以及你可以想到使用这两种方法做的每种不同方式)并得到相同的错误消息

Trying to do the most simple VBA code and can''t get it to work. Tried the two methods below (and every different way you could think of doing it using these two methods) and got the same error message

展开 | 选择 | 换行 | 行号

推荐答案

网站规则禁止发布电子邮件地址,因此您的电子邮件地址已被删除。


也许您可以解释一下您的问题更多细节,我们可以有一些帮助。你的代码让我感到有些困惑,确切地说你要做什么,尤其是这一部分:


MAX([HeadOfficeRegionCode] +0.1


Linq ; 0)>
Site rules prohibit the posting of email addresses, and so yours has been removed from your original post.

Perhaps if you could explain your problem in a little more detail we could be of some assistence. Your code leaves me somewhat baffled as to exactly what you''re trying to do, especially this portion:

MAX([HeadOfficeRegionCode]+0.1)

Linq ;0)>



网站规则禁止发布电子邮件地址,因此您的电子邮件地址已被删除。


也许如果您能够更详细地解释您的问题,我们可能会有一些帮助。你的代码让我感到有些困惑,确切地说你要做什么,尤其是这一部分:


MAX([HeadOfficeRegionCode] +0.1


Linq ; 0)>



************** ************************************ ************** ********************************


谢谢Linq,我不知道电子邮件规则。


我要做的就是选择HeadOfficeRegionCode中的最大值。表tlkHeadOfficeRegion的字段,添加.1它和值返回到一个名为HeadOfficeRegionCode


获取来自HeadOfficeRegionCode

添加Lagest值文本框:0.01

返回HeadOfficeRegionCode文本框


希望能搞清楚,


谢谢


Sean

************************************************** ******************************************

Thanks Linq, I wasen''t aware of the email rule.

All i''m trying to do is select the largest value in the "HeadOfficeRegionCode" field of the table tlkHeadOfficeRegion, add .1 to it and return that value to a textbox called HeadOfficeRegionCode.

Get Lagest value from HeadOfficeRegionCode
Add: .01
Return to HeadOfficeRegionCode textbox


Hope that clears things up,

Thanks

Sean


好吧,我没有看到任何错误捕获,所以当你收到错误时,你应该有一个说调试的按钮。这将突出显示违规行,并可能帮助我们解决您的问题。


有很多方法可以写这个但这可能会有所帮助。

Well I don''t see any error trapping so when you receive the error you should have a button that says debug. This will highlight the offending line and may help us resolve your problem.

There are so many ways this can be written but this may help.

<跨度类= codeLink 的onclick = 模糊(此,this.parentNode.parentNode,的getChildren(本),TRUE);>展开 | 选择 | Wrap | 行号


这篇关于访问编译错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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