Hi,
I am new to InfoPath but have good knowledge on SharePoint. I am creating an InfoPath form in the InfoPath 2007 Form filler format using InfoPath 2010 Designer (because backend systems are InfoPath 2007).
I have a list hosted in SharePoint that has 5 columns with one of the column being unique – employee ID. This employee ID (is a whole number) is being requested to be typed in InfoPath form. Once the users type the employee ID and hit enter, the remaining 4 columns (Title, Department, Manager, Pay-grade) need to be populated in the InfoPath form.
I use calculated value control (because that is the requirement from my team lead) in InfoPath and am trying to pull the corresponding values (Title, Department, Manager, Pay-grade) for the employee ID that is typed in the form.
My calculated value control in InfoPath always returns the value from the first row corresponding cell value irrespective of the employee id being provided. When I try fetching the lookup value, I am not able to write the correct code for XPath calculated value (to pick the correct row and corresponding cell).
Any help is appreciated.
Thanks in advance.