I had a problem with selecting InfoPath repeating rows for applying a condition. Therefore for i used following mechanism to correctly select the current row. Here is my scenario, I’m writing a formula for fld_CorpStatus by accessing field fld_corpOff . but i should access the same row data in the run time. there for i used following xpath expression to access the fld_corpOff. current()/../fld_corpOff Explanation :- we are getting the current (fld_CorpStatus) and then go to it’s parent (CorpOfficeGroup) the access the fld_corpOff