How to Bind textbox/ListBox from one List with depending on other Dropdownlist populated with Another Sharepoint list in InfoPath?

南楼画角 提交于 2019-12-13 09:30:30

问题


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.

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.

Help Appreciated! Thanks!


回答1:


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

  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

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



来源:https://stackoverflow.com/questions/15004734/how-to-bind-textbox-listbox-from-one-list-with-depending-on-other-dropdownlist-p

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!