Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Display Count Values Post Reply Post New Topic
Author Message
jonman
Newbie
Newbie
Avatar

Joined: 20 Jun 2013
Location: Greece
Online Status: Offline
Posts: 3
Quote jonman Replybullet Topic: Display Count Values
     Posted: 03 Dec 2013 at 9:28pm
Hi all ,
I have the following table :
       Item    Vendor No.
        003      003
        003      002
        003      002
        003      002
        003      010
i use the DistinctCount for the Vendor No . but i want also to display the records in a group footer .
example : DistinctCount = 3
          Display Records = 003,002,010 .


Giannis M.
IP IP Logged
Sastry
Moderator
Moderator
Avatar

Joined: 16 Jul 2012
Online Status: Offline
Posts: 537
Quote Sastry Replybullet Posted: 03 Dec 2013 at 10:34pm
Hi
 
I hope ur getting right distinct count for vendor.
 
Now create a group on vendor
 
Create following formulas and place them on mentioned sections :
 
@formula1
Whileprintingrecords;
Stringvar y;   // place this on report header or previous group header if any
 
@formula2
Whileprintingrecords;
Stringvar y;
y:=y+{vendor_no}+','   // Place this on vendor group footer
 
@Formula3
Whileprintingrecords;
Stringvar y      // place this on your group footer of previos group
 
 
 
Thanks,
Sastry
IP IP Logged
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