Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sum calculated text boxes

Status
Not open for further replies.

TJones8

Technical User
Apr 16, 2002
77
GB
Hi, I have a bit of a nasty report set up.

Advisor :
Applicant :
Details :

The report is grouped and sorted by Advisor then Applicant.
Each applicant can have many Details (in this case policies). Each applicant also has only one Proc fee to pay, but the way the query is set up brings back one proc fee per detail but only displays it once.
In the applicant footer, a total field adds each policy fee and one proc fee :-
Code:
Sum([PolFee])+[ProcFee]
My problem is that i need each advisor to total up all the applicants' total in the footer. Unfortuantly, i cannot sum the applicant total text box and if i sum the above code, it adds one proc fee per policy!!

Any help is greatfully recieved.

Tim Jones if at first you don't succeed, get a 10lb lump hammer
 
You didn't give us any info about your tables. Sounds like your ProcFee field might be in the wrong table.

I'd have 3 separate tables: tblAdvisor, tblApplicant, and tblDetails all joined on a key that identifies the applicant (e.g. ApplicantID). Ann
 
The table layout is...

Advisor (ID, name, etc..)
Applicatn (ID, name, Advisor ID, Proc Fee, other junk)
Policy (ID, Applicant ID, Fee, stuff) if at first you don't succeed, get a 10lb lump hammer
 
I don't see an ApplicantID field in the Advisor and Applicatn tables. How are your tables related? Ann
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top