BlueChicken
Usually Confused
- Local time
- Yesterday, 18:05
- Joined
- Jun 19, 2009
- Messages
- 88
Hello everyone! Back for more help:
Here is my problem now:
I am trying to add up the complete costs of the tickets we book so that we can produce a report to our accounting department.
Using Google I figured out how to get the totals for each "ticket" (The 1, 2, or 3 legged trips going only 1 way) and then the group totals for each "trip" (The totals of the tickets going both ways). All of that works perfectly. However, the trouble comes when I try to add the totals from two trips together.
I can't seem to find an expression that works. I either end up with an '# Error' or a 0 in the text box where the expression is.
I am pretty sure this SUM can be calculated, and as I keep getting it wrong I am beginning to think that it is going to be solved using code... if anyone can help me figure this out I'd greatly appreciate it.
I attached two pictures of the report, one in design view and one in print preview.
The textboxes in question are named "SumOfTicketCosts" (This is the query based calculation of the ticket costs), "TripCostSUM" (the sum of each separate trip), and "TotalTicketCosts" *(as the name says).
It is the "TotalTicketCosts" That is not working.
Need anything else, just let me know!
Here is my problem now:
I am trying to add up the complete costs of the tickets we book so that we can produce a report to our accounting department.
Using Google I figured out how to get the totals for each "ticket" (The 1, 2, or 3 legged trips going only 1 way) and then the group totals for each "trip" (The totals of the tickets going both ways). All of that works perfectly. However, the trouble comes when I try to add the totals from two trips together.
I can't seem to find an expression that works. I either end up with an '# Error' or a 0 in the text box where the expression is.
I am pretty sure this SUM can be calculated, and as I keep getting it wrong I am beginning to think that it is going to be solved using code... if anyone can help me figure this out I'd greatly appreciate it.
I attached two pictures of the report, one in design view and one in print preview.
The textboxes in question are named "SumOfTicketCosts" (This is the query based calculation of the ticket costs), "TripCostSUM" (the sum of each separate trip), and "TotalTicketCosts" *(as the name says).
It is the "TotalTicketCosts" That is not working.
Need anything else, just let me know!