Paul, Thanks so much, but not yet a go The code you suggest works, but does not give me the desired results. Don't I have to use the detail.PTFT? What is happening now is that if the first row details.detail.PTFT = 1 or 2 then it sums all the salaries in the MU employee salary box. If details.de...