Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Multiple Detail Lines Post Reply Post New Topic
Author Message
roboticapps1
Newbie
Newbie


Joined: 20 Oct 2010
Location: United States
Online Status: Offline
Posts: 3
Quote roboticapps1 Replybullet Topic: Multiple Detail Lines
    Posted: 03 Nov 2010 at 11:15am
I'm still fairly new to CRXI so any help will be appreciated.

I am trying to created a report that looks something similar to this:

Customer         Item Description       QTY     Unit Cost    Amount
--------         ----------------
            ----         -------------      ---------
Cust1                    Clear Bottles                    100         0.50               50.00
                             Tax                                   50.00      .0875             4.38
                             Shipping Charge              1              6.75               6.75
                                                                                                          ---------
Cust1 Total                                                                                         61.13

Cust2                    Dark Bottles                    100         0.60                60.00
                             Tax                                   60.00      .0875             5.25
                             Shipping Charge              1              6.75               6.75
                                                                                                           ---------
Cust2 Total                                                                                         72.00


I can put all the record fields but I can't seem to calculate the SUM correctly. I'm curious if there is a better way to go about this.

Thank you.
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 04 Nov 2010 at 3:13am
one would think it wouldn't be that hard.  I am assuming that there is a group on customer, then a formula like:
sum({table.qty}*{table.UnitCost}, {table.customer})
 
should do the trick.
 
HTH
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.