locked
Populate value quering in Webservice In Infopath when the form gets launched RRS feed

  • Question

  • I am newbie in InfoPath. I am trying to create a simple form which uses a webservice to get employee information.

    The form has two text field i.e.

    EmployeeNumber:

    EmployeeName:

    The webservice has a method getEmployeeInfo(empNumber), which takes employeeNumber as parameter and returns employee information. Whenever i view this form, i want the form to populate values for this column automatically without need for hitting submit button. So far, i have been able to get employeeNumber just by using (username()) function and i have only been able to populate employee name if i have a button and choose to run a query. Can anyone help how i can achieve this?

    Thank you.


    creativity..
    Thursday, June 30, 2011 7:35 PM

Answers