Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
165 views
in Technique[技术] by (71.8m points)

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

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!

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...