I am trying to select multiples detail rows into one header row for a group of records I selected in a cursor. Specifically, I have a gift that is split between 1 or many accounts. I want to display two of these accounts in one record for each record brought back in the cursor. And, I want to set a variable if there are more than two. Any ideas???