Hello,
I trying to do the following:
I have a repeating table. Each row has a button. When that button is clicked I want to populate a text box with the value in a drop down list that is in the chosen row. The drop down list is populated from a secondary database source. Here is the rule I have for the button:
xdXDocument:GetDOM("VesselDesc")/dfs:myFields/dfs:dataFields/d:VesselDesc/@Name[../@VesselDescID = current()/../@VesselDescID]
Which isn't working. If I have the following two actions in the rule, where I first set a field to the current VesselDescID:
current()/@VesselDescID
then use this field to get the value in the drop down list of the current row:
xdXDocument:GetDOM("VesselDesc")/dfs:myFields/dfs:dataFields/d:VesselDesc/@Name[../@VesselDescID = xdXDocument:get-DOM()/dfs:myFields/my:VesselDesc.VesselDescID]
it works just fine. It seems that I should be able to combine these two action into one.
Thanks in advance,
Brian Faivre