wcf - Populating a combo box in Infopath from a webservice -


aim: create infopath form displays list of companies in combo box , displays additional information when company selected.

the data served wcf webservice talking sql server backend. in theory should able use stored procedure (and associated methods in webservice) list of companies , associated ids, populate combo box in infopath, link selection of company name id , pass id on stored procedure return additional information.

however, when try wire webservice method return companies, can't plug company name field single combo box data returned repeating.

am doing wrong? should use single method returns company information (there's 700 or so) , create filter on company name field instead?

the combobox returns 1 single company id. id can used search company name in company list returned webservice.

can without coding:

create rule 'companyidchanged' on combobox. create action 'set fields value' rule. set form field 'companyname' value 'companyname' of webservice. use filter on value set companyname correct companyid. filter should 'companyid' in combobox = 'companyid' in webservice.

regards jack graus


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -