Hi guys,
I think what Rokp wants is different from what MFaus explains.
The solution given by MFaus eliminates duplicate values in a listbox.
But what Rokp wants is....
1)Have a listbox in the repeating table.
2)Assume that User selects "A" in the listbox for row1 of the repeating table
3)Now in row2,user should not be allowed to select "A" again in the listbox i.e the selection in the listbox should be unique for each row.
I am not good at "Expressions" in Infopath.So I would opt for code.
So what I would do is write code in the OnAfterChange event for that listbox field.
1)In the code,compare the listbox value selected for the current row with the listbox values in the previous rows.
2)If it matches with any other row,then throw an alert and reset the selected value in the current row so that the user has to reselect a different value in the current row dropdown.
Hope it is clear.
Regards,
Abhishek