I have an InfoPath form with a secondary connection to a list with multiple fields.
Based on a selection of a dropdown of the "Organization" field, I want to pull data from one field or another. eg. if they pick DAOM from a dropdown on the MAIN, I want to grab the value of a field called DAOM from the secondary list.
1) in the statement below, if I replace the concat section with 'concat("d:","DAOM")', it will do the lookup properly.
2) If I remove the single quote from concat statement it will pull data from the proper field but will not compile.
3) If I leave the single quote in as displayed, the form will compile, but I get an error message that says: msxml6.dll Reference to undeclared namespace prefix: 'my'. Error occurred during a call to property or method 'Eval'.
eval(eval(SharePointListItem_RW[ID = TeamName and contains(AssignmentType, "Org")], 'concat("d:", xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:Organization)'), "..")
can you give me a clue how to make the statement work AND compile? thanks in advance!!