Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Multiple data on Group Level Post Reply Post New Topic
Author Message
Robotacha
Groupie
Groupie
Avatar

Joined: 11 Nov 2009
Location: United Kingdom
Online Status: Offline
Posts: 97
Quote Robotacha Replybullet Topic: Multiple data on Group Level
    Posted: 05 Apr 2011 at 4:13am
Hello,
 
i hope someone can help me (or at least tell me I'm doing things the hard way!)

I am trying to build a report that will show customer unit sales based on sales on another account.
 
Let me explain,
 
each customer has 2 accounts. eg; 3OCEAN & 8ZZOCEAN

8ZZOCEAN is a stock holding account where we send stock into the customer, and when he sells units from this stock, he reorders them on his main account (3OCEAN)
 
I want a report to show which product codes the customer has on his 8ZZ account,
then on the product code group level, show the sales from his Main account.


I want the report to look similar to this:

 
 
PH                                         8ZZ QTY         3OCEAN QTY FEB     3OCEAN QTY MAR
GH1 - 8ZZOCEAN
GH2 - PARTCODE123456b             4                           12                         3  
GH2 - PARTCODE123445b             4                           10                         2
GH2 - PARTCODE334223b             4                             3                         3
GH2 - PARTCODE566743b             4                             0                         8
 
 
Ive tried formulas using the 3OCEAN account number and then summarizing by stock code, but it just gives me the quanties from the 8ZZOCEAN account (obviously because this is the first group)
 
 
I have been doing this manually for a few months using 2 reports, and VLOOKUP in excel, but there is over 3000 accounts with 8ZZ accounts and I want all this to be automated in one report.
 
 
Please help,
 
Im confused :(
 
 
Thanks in advance
 
 


Edited by Robotacha - 05 Apr 2011 at 4:19am
Regards,

Michael Jones
IP IP Logged
Robotacha
Groupie
Groupie
Avatar

Joined: 11 Nov 2009
Location: United Kingdom
Online Status: Offline
Posts: 97
Quote Robotacha Replybullet Posted: 05 Apr 2011 at 8:31am
Sorted this.

Perhaps I should have explained it a little better. After reading it back, I wasn't much help in what I was trying to describe :\

PH - Customer & Stockcode     Qty      MQtyJan MQtyFeb

GH1 - {TRANSACTION.CUSTOMER}   {@mainacc}
GH2 - {TRANSACTION.PARTCODE}   {sum1}    {sub1}   {sub2}


sub1 & sub2 are subreports with the paramaters linked to partcode & linked to @mainacc

@mainacc formula was simply:

IF {TRANSACTION.CODE}="8ZZOCEAN" THEN "3OCEAN"




Regards,

Michael Jones
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.