Hello, I've been searching these forums for the answer to my question - and maybe I'm not using the right Infopath terminology, but I can't find exactly what I'm looking for. I hope this is a really easy answer, but it's been confounding me for several days.
I have a Scorecard based off of a table in SQL that has 4 columns. The KPI ID, the Month ID, the Team ID, and the Value. All of the detailed information (The names of the KPIs, the different hierarchy levels for the Teams, the actual names of the months) are all in 3 separate tables that are related to each ID column - it's a standard relational database.
We have 10 KPIs that are not able to be automatically pulled and we want to create a form that can be used to enter these KPIs directly into the database. There are around 4-6 people involved in the process, and so we're creating a Infopath Filler form they can each open once a month to enter the data. It's a very simple need.
I am NOT well-versed in Infopath, and I've actually gotten everything functionally working. I've created the main connection to the Main metric table and then 3 other data connections to each of the other tables with details (The KPI Table, the Team Table, and the Month Table). On the Infopath form, I was able to pull the Team names into a drop down menu, and the Month into a drop down menu, (both displaying the name, but providing the Primary Key ID for the value) and then when the query is run it will show a list of the KPIs and KPI Values for that team and month in a repeating table at the bottom of the form. I can change and add values to the form, hit Submit and it updates in the database.
The problem I'm running into is that, for the life of me, I can't seem to get the KPI Names to display in the repeating table. The KPI Names are in the KPI Table, not the main Metric Table.
I found this website explaining exactly what I want to do: http://sharepointsolutions.com/sharepoint-help/blog/2011/11/get-infopath-to-display-lookup-column-value-not-id/
But when I follow these steps I get an error that too many calculations are being done and the values are invalid. From what I can tell, the maximum number of calculations in Infopath are 16, but I only have 10 fields that I need to process. I've tried doing the same process with a Rule that sets the value of the field, but I get the same result.
I'm left with a form that works exactly as planned, but is unusable because no one knows which KPI is associated with KPI ID #20. When I ran the Inspector, an error popped up on the right that says "Repeating Section cannot store bound data type". Does this mean there's no way to combine the data from the Main connection with data from Secondary connections in the same Repeating Section?
I don't know what I don't know about Infopath, so I'm hoping someone here can help shed some light on what's going on! Thanks! :)