Web数据库表单错误 - 收到的事件已取消该请求。 [英] Web database form error - An event received has canceled the request.

查看:55
本文介绍了Web数据库表单错误 - 收到的事件已取消该请求。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在访问网络数据库中有一个webform,当我尝试保存记录访问时会发生错误,如屏幕截图所示"事件接收器已取消请求"。在下面显示的表格中,我在两个表格中有两个表格,一个主表格和一个子表格,
子表格(数据表)工作正常。

I have a webform in a access webdatabase, when I try to save the record access throws an error as shown inthe screenshot "An event receiver has canceled the request". On the form shown below I have two forms a mainform and a subform both on different tables, sub form (datasheet) works fine.

其他webforms工作正常,即使这个webform在我添加几个宏之后工作正常这个错误,我删除了所有的宏,除了那些调用save和save&这些宏位于下方的新按钮:

Other webforms are working fine, even this webform was working fine after I added few macros it started this error, I have removed all the macros except for the ones called on save and save & new buttons those macros are below:

<?xml version =" 1.0"编码= QUOT; UTF-16" standalone =" no"?>

< UserInterfaceMacros xmlns =" http://schemas.microsoft.com/office/accessservices/2009/11/application">< UserInterfaceMacro For = QUOT; cboSave" Event =" OnClick">< Statements>< Comment> / *检查BRP和Requirement Reference是否为null * /< / Comment>< ConditionalBlock>< If>< Condition> IsNull([BRP_Reference ])
或IsNull([Requirement_Reference])< / Condition>< Statements>< Action Name =" MessageBox">< Argument Name =" Message">请填写BRP参考和要求参考字段< / Argument>< / Action>< Action Name =" StopAllMacros" />< / Statements>< / If>< / ConditionalBlock>< Action
Name =" SaveRecord" ; />< / Statements>< / UserInterfaceMacro>< / UserInterfaceMacros>

<?xml version="1.0" encoding="UTF-16" standalone="no"?>
<UserInterfaceMacros xmlns="http://schemas.microsoft.com/office/accessservices/2009/11/application"><UserInterfaceMacro For="cboSave" Event="OnClick"><Statements><Comment>/* Check if BRP and Requirement Reference are not null*/</Comment><ConditionalBlock><If><Condition>IsNull([BRP_Reference]) Or IsNull([Requirement_Reference])</Condition><Statements><Action Name="MessageBox"><Argument Name="Message">Please populate BRP Reference and Requirement Reference fields</Argument></Action><Action Name="StopAllMacros"/></Statements></If></ConditionalBlock><Action Name="SaveRecord"/></Statements></UserInterfaceMacro></UserInterfaceMacros>

请给我任何建议,它让我发疯。

any suggestions please, its driving me crazy.

问候,

推荐答案

嗨Santhosh,

Hi Santhosh,

我们正在研究你的问题。可能会有一些延迟。感谢您的耐心等待。

We are doing the research about your problem. There might some delay. Appreciate your patience.

最诚挚的问候,


这篇关于Web数据库表单错误 - 收到的事件已取消该请求。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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