|
-
Jun 13th, 2004, 06:09 PM
#1
Thread Starter
Frenzied Member
crystal question
In my report I have a group with data that is in my header table and in the detail portion of the report I have data from my detail table. Header data is a receipt total and Detail data is all the items bought...the problem I'm having is when I sum up my items. The items are in the detail portain (and detail table) and the total is fine, but the sales tax is the header table...so for every detail item the sales tax gets added...is there a way I can calculate this so the sales tax is only input once...maybe a sub-report?...any suggestions?
thanks
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
Jun 13th, 2004, 11:23 PM
#2
so for every detail item the sales tax gets added...
Added to what. I am not sure I follow your question.
Are you trying to show the Sales Tax per item or just display the total tax of all items. The group footer would be a place to show the totals per group.
-
Jun 14th, 2004, 08:46 AM
#3
Thread Starter
Frenzied Member
I need to add the sales tax amount to the amount of all the items bought.
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
Jun 14th, 2004, 09:49 AM
#4
Create a formula that calculates the Sales Tax for each item. Place this formula in the details section. You can then Sum the formula.
The formula would be something like
{DetailTable.ItemAmount} * .075
-
Jun 14th, 2004, 10:05 AM
#5
Thread Starter
Frenzied Member
that's what I'm doing now, but when theres more than one detail record, the sales tax with get added multiple times.
It's tough being an unhandled exception...
___________
VB.NET 2008
VB.NET 2010
ORACLE 11g
CRYSTAL 11
-
Jun 14th, 2004, 10:17 AM
#6
???? Crystal processes each Detail record one at a time.
If the formula is in the detail section it would show the Sales Tax for each item.
-
Jun 14th, 2004, 10:21 AM
#7
Never mind. Its Monday and I am a moron.
Does your report use the Group Footer section? You could place a Sum of all detail items in this section, suppress/hide it and then create a formula that contains
@SumofDetailItems + {HeaderTable.SalesTax}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|