如何从一个列表绑定文本框/列表框,并依赖于其他Dropdownlist填充到InfoPath中的另一个Sharepoint列表? [英] How to Bind textbox/ListBox from one List with depending on other Dropdownlist populated with Another Sharepoint list in InfoPath?

查看:102
本文介绍了如何从一个列表绑定文本框/列表框,并依赖于其他Dropdownlist填充到InfoPath中的另一个Sharepoint列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个DropDownList,其中在INFOPATH DESIGNER中填充了一个SharePointList,而其他文本框的值则根据使用Rule&行动.效果很好.

I have a DropDownList which is populated with One SharePointList in INFOPATH DESIGNER and the value for other textboxes are filled depending on this DropDownList Selected Value using Rules & Action. This works fine.

但是,现在我想在其他列表"中存在的文本框"或列表框"中检索数据.(Want to use ClientID as LookUp value)取决于Dropdownlist的选定值".

But, now i want to retrieve data in TextBox or ListBox which is present in Other List.(Want to use ClientID as LookUp value)depending on the Selected value of Dropdownlist.

Eg: ClientList(ClientID,Name,City)
    ClientAddress(ClientID,Address1,Address2)

Depending on ClientID from DropDownList the TextBox Value must be filled with Corresponding Address1,Address2.

感谢帮助! 谢谢!

推荐答案

创建与其他列表的数据连接,然后创建规则以填充文本字段.有几种方法:

Create a data connection to the other list, then create rules to fill the text field. There are several ways:

  1. 将新数据连接中查询字段的ID字段设置为表单字段的值,然后查询数据连接,将目标字段的值设置为新数据连接的数据字段

  1. Set the ID field of the query fields in the new data connection to the value of the form field, then query the data connection, set the value of the target field to the data field of the new data connection

将目标字段的值设置为新数据连接的值,并通过表单字段的ID值进行过滤.

set the value of the target field to the value of the new data connection, filtered by the ID value of the form field.

这篇关于如何从一个列表绑定文本框/列表框,并依赖于其他Dropdownlist填充到InfoPath中的另一个Sharepoint列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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