Hi folks;
Hope the example data below displays properly for you?
This is the datasheet view of some tricky data I'm trying to manhandle. I'm going to be receiving 25000 records to analyse in the next week, and as usual they're going to be a mess! They're all details of fire insurance policies held by bank customers who have loans taken out against their businesses. Some customers have multiple customer numbers, to which are connected multiple insurance policies, each with their own IDs. My job is to find the total value of insurannce policies held by each individual and compare it to the total value of their assets insured, to make sure that if these places burn down then there's enough insurance in place to cover any losses. So I need to find a way to (in the case of the sample data above) add all the policy values and building values together for each customer. How does one do this with a query? To add PolicyVal in one record to PolicyVal in another but only if the CustName is the same? I've had a good look around the Web but without much luck. Any ideas folks?
Hope the example data below displays properly for you?
Code:
CustName FireID CustID PolicyNo PolicyVal BuildingVal Claire Sheene 8 88221 125584 12,500 12,500 Claire Sheene 7 88220 Robin Murphy 9 78552 365557 35,000 35,000 Robin Murphy 6 74859 995554 25,000
Comment