I have a form with a repeating section that lists violations created based on user responses.
The entire form also repeats, so I can have multiple instances of form with different answers.
The problem is my repeating section of violations lists ALL violations in the data source instead of just the ones from the specific instance.
I setup conditional formatting on my repeating section: /Data Source Name/my:OptGroup_Violation/my:Violation/my:_Area_ not equal to /Data Source Name/OptGroup_Repeating Form Section/_Area_ then hide control
I need it to hide the entire row, if the _Area_ in violation section is different from the _Area_ in body of the form, but instead it hides the entire repeating section.
I am using InfoPath 2007 and the form autopopulates based on data source from SQL xml.
I would really appreciate some help on this. I can provide additional information if this is not clear.