填充下拉框 [英] Populating a drop down box
问题描述
我创建了一个InfoPath表单以及一个用于填充下拉列表的列表.我需要根据当前字段的值有条件地填充下拉列表.
这是我的清单
状态标题
1等待行动
2流程开始
3等待第一任经理
4等待第二任经理
5暂停
已接受6个文档
7个文档被拒绝
在我的表格初次加载时,我想显示所有条目.
在后续加载中,我需要下拉列表仅包含某些信息,具体取决于当前状态.
如果当前状态=流程已开始" –我不想显示正在等待操作"
如果当前状态为"Awaiting 1st Manager" –我不想看到流程已开始"或"Awaiting Action".
Hi,
I have created an InfoPath form and also a list which is used to populate a drop down list. I need to conditionally populate my drop down depending on the value of the current field.
This is my List
Status Title
1 Awaiting Action
2 Process Commenced
3 Awaiting 1st Manager
4 Awaiting 2nd Manager
5 On Hold
6 Document Accepted
7 Document Rejected
On initial load of my form I want to show all entries.
On subsequent loads I need the drop down to only contain certain information, depending on the current status.
If the current status = "Process Commenced" – I do not want to show "Awaiting Action"
If the current status = "Awaiting 1st Manager" – I do not want to see "Process Commenced" or "Awaiting Action"
推荐答案
您可以处理CBN_DROPDOWN
通知并更改列表项.
You can handle the CBN_DROPDOWN
notification and change the list items.
我是infopath的新手,但从未见过CBN_DROPDOWN.
如何实现?
I am a newbie to infopath and have never seen a CBN_DROPDOWN.
How is this implemented?
这篇关于填充下拉框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!