Hi everyone, I am new to InfoPath and this is probably a very simple thing to do, but I just can't seem to get it to work. For reference I am using SharePoint 2013 along with InfoPath 2013.
My question is this:
I have a list A that has basic employee information (EMP ID, First Name, Last Name) and list B that has basic address information (Address ID, EMP ID FK, Address, City, State, ZIP). The 'EMP ID FK' is the foreign key I am using from List A to form the relationship between the lists.
In InfoPath, I want to be able to list out this information in a row with split columns, so you can see all of the information like this (EMP ID, First Name, Last Name, Address, City, State, ZIP), for however many people there are in the system. I can get the repeating part to work, I make the data connection and just click and drag over. But I don't know how to match the information. I want EMP ID 1 to be matched with EMP ID FK 1, and EMP ID 3 to be matched with EMP ID FK 3.
I have tried 'hiding' the control if EMP ID does not equal EMP ID FK, but that just hides the control entirely, not what I'm looking for.
Am I just going about this the wrong way or is this more complicated than I think it is? I would prefer a codeless solution, but am willing to work with code if you are kind enough to explain it.
Thanks for your help!