Hello. Sorry if the information for my question is already posted but I am new to Infopath (2007) and the examples I have found in the threads do not solve my issue...
I have a repeating table binding to a SharePoint list. I am trying to hide rows where values repeat on different rows. I have used the preceding-sibling xpath function but I cannot get it to work.
The data source is:
RiskAssessments (Secondary) - myFields\dataFields\RiskAssessments
Columns - Title, RiskNo, LineNumber, RAVersion, Year, Division, Site, Department, DepartmentArea
Where the "RiskNo" on one row is the same as the "RiskNo" on the row above, i would like to hide the row. I have tried:
../preceding-sibling::@RiskNo
But get a "Node-test expected." error.
Any help would be appreciated.
Thank you.
Matt