Hi, total noob here need help !!
I have a list in sharepoint called consumables.
Description Price
a4 paper 10
a5 paper 12
paper clips 25
What I am trying to do is have a repeating table in an InfoPath Form where the user can select the description and the relevant price is displayed.
The price is incorrect always e.g 10 when I select a different Product in each repeating table.
Guess I am not understanding something here.
Here is the xpath for the price field which is a lookup on the sharepoint list.
xdXDocument:GetDOM("Consumables")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:cPrice[../d:Description = xdXDocument:get-DOM()/my:myFields/my:group7/my:group8/my:field16]
Any help would be most appreciated.