Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: report list Post Reply Post New Topic
Author Message
bdeshtiger
Newbie
Newbie


Joined: 24 Aug 2010
Location: Saudi Arabia
Online Status: Offline
Posts: 2
Quote bdeshtiger Replybullet Topic: report list
    Posted: 24 Aug 2010 at 11:33am
Dear Gurus,
 
I have data in table as follows:
 
Inv_No  ItemCode     Desc          Amount
1             11              7up            10
1             12              pepsi          25
1             13              mirinda       15
2             11              7up            12
2             13              mirinda       16
 
I need to get list report as per item code as follows:
 
Sales report
Invno     7up           pepsi         mirinda     .......
1            10              25              13
2            12              0                 16
continues.......
 
Is it possible?
 
I have done as follows:
In crystal report => made group (INVNO) and ITEMNO =>
add formula field with
Sum (field,condfield, condition) but gives me error
like sum ({sales.amount},{sales.itemcode}, {sales.invno})
Error message : a group field is not allowed here {sales.invno}
 
Any help or idea would be appreciated.
 
Best regardsm
 
BT
 
BT
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 24 Aug 2010 at 12:02pm
use a cross tab
column on DESC field
Row on INV_No field
Summarized field as SUM of Amount
IP IP Logged
bdeshtiger
Newbie
Newbie


Joined: 24 Aug 2010
Location: Saudi Arabia
Online Status: Offline
Posts: 2
Quote bdeshtiger Replybullet Posted: 26 Aug 2010 at 11:43am
Thank you so much. It works greate.
 
Appreciated.
 
 
 
BT
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.016 seconds.