InfoPath:多个表单加载规则将忽略默认视图 [英] InfoPath: Multiple Form Load Rules ignore Default View

查看:62
本文介绍了InfoPath:多个表单加载规则将忽略默认视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有4个视图:

  1. 查看记录:只读视图;设置为显示视图"在表单选项"中
  2. 设置视图:可编辑视图,主要用于创建新记录
  3. 状态视图:可编辑视图,用于更新常用字段;设置为默认的编辑视图
  4. 日期视图:可编辑的视图,用于对频率较低的字段进行更新

我已将可编辑视图组织到标签"中.

I've organized the editable views into Tabs.

我有一个表单加载规则,用于检查"ID"是否存在为空白;如果是,则切换到设置视图"; (因此,如果没有,则使用默认的状态视图").效果很好.

I have a form load rule that checks whether "ID" is Blank; if true, switch to "Setup View" (Hence, if not goes to default "Status View").  This works perfectly.

在日期视图"中,我有一个名为下一个门"的字段,和"Gate#Date"(门#日期) (#= 1-6).我创建了表单加载规则,以切换到日期视图"如果Next Gate = Gate 2 and Gate 2 Date< = today(),Next Gate = Gate 3 and Gate 3< = today()等

In the "Dates View", I have fields called "Next Gate" and "Gate # Date" (#=1-6).  I created Form Load Rules to switch to "Dates View" if Next Gate=Gate 2 and Gate 2 Date <= today(), Next Gate=Gate 3 and Gate 3<=today(), etc.

由于某些原因,添加这些额外的表单加载"规则已经影响了显示视图"在表单选项"中设置的.现在,日期视图"甚至在用户单击编辑"按钮之前显示否".记录. 我已经检查了不要运行剩余规则...",每个规则.

For some reason, adding these additional "Form Load" rules has impacted the "Display View" that was set in "Form Options".  Now, the "Dates View" is displayed even before the user clicks on "Edit" record.  I have checked the "Don't run remaining rules ..." for each of the rules.

任何帮助将不胜感激.

推荐答案

您使用的是InfoPath表单库还是InfoPath定制的列表?

Are you using an InfoPath form library or a list which is customized by InfoPath?

请创建一个列表,并使用InfoPath作为您的设计进行自定义,并比较结果.

Please create a list and customize it using InfoPath as your design, compare the result.

谢谢

温迪


这篇关于InfoPath:多个表单加载规则将忽略默认视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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