Ok Ken,
I deleted the grouping on Group Header #1 - InvestHolding.AcctNum - A. Then I ran the rpt. It gave me all of the same data that it should (info for the five ppl which combined makes 20 policies), but it was not separated (by AcctNum), so it all came in together (all 20 consecutively). Then I added the policy and NameEntity tables and added the Policy.PolicyID, Policy.OwnerID, Policy.InsuredID (this is the ID that links to the name of the person I want with each policy) and I added the NameEntity.Name (which is the insured name). Now, for each of the 20 policies, it would list all five peoples names for each policy. The names always come out in the same order for each of the 20 policies. The correct data still comes in with the first name, but the other four names each get the same data as the first name. This is the loop. The next policy has the correct data for one person, but also lists the same data beside each name. Also, the order of the names does not change. The second name that comes out is the one that should come out with this Policy, so it should be first. The five names never change order. As for you last question “Do you get more that one record per policy?”. Yes … I guess I do. Like I said, it comes out five times (five names) with the same data beside each name.
Here is what it looks like now:
Investment (insured name) Total Cost Market value
===========================================================
Bond Fund Adams, Amile 11.22 1,122.23
Adams, Karl 11.22 1,122.23
Adams, Evan 11.22 1,122.23
Adams, Marina 11.22 1,122.23
Adams, Mary 11.22 1,122.23
Equity Fund Adams, Amile 22.33 2,254.92
Adams, Karl 22.33 2,254.92
Adams, Evan 22.33 2,254.92
Adams, Marina 22.33 2,254.92
Adams, Mary 22.33 2,254.92
*this would go on for the other 3 policies that Amile has after these 2. This is the 6th policy, and this set of policies are insured to Karl.
Bond Fund Adams, Amile 66.54 44,842.02
Adams, Karl 66.54 44,842.02
Adams, Evan 66.54 44,842.02
Adams, Marina 66.54 44,842.02
Adams, Mary 66.54 44,842.02
Equity Fund Adams, Amile 25.42 3,142.29
Adams, Karl 25.42 3,142.29
Adams, Evan 25.42 3,142.29
Adams, Marina 25.42 3,142.29
Adams, Mary 25.42 3,142.29
*the rest of the report looks like this and the total adding each time the values loop, so each value is added 5 times instead of 1.
Here is what I am trying to make it look like:
*the "0005046356" is the AcctNum
Investment Total Cost Market value
===========================================================
0005046356 Adams, Amile
Bond Fund 11.22 1,122.23
Equity Fund 22.33 2,254.92
Bal Fund 54.56 5,458.22
Int'L Growth Fund 66.36 9,874.32
Asset Alloc. Fund 5.55 123.45
=================
"the total"
0009941I05 Adams, Karl
Bond Fund 54.27 5,152.25
Equity Fund 76.53 7,257.94
Bal Fund 44.55 4,444.22
Int'L Growth Fund 12.33 8,865.36
Asset Alloc. Fund 55.55 121.41
US Equity Index Fund 35.25 777.77
=================
"the total"
...and so on for each of the five people, with a grand total line at the bottom.
I hope this helps you
advTHANKSance
Jamie in Canada