Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Group Header Section Number Post Reply Post New Topic
Author Message
Herfian
Newbie
Newbie
Avatar

Joined: 12 Jul 2012
Location: Indonesia
Online Status: Offline
Posts: 4
Quote Herfian Replybullet Topic: Group Header Section Number
    Posted: 12 Jul 2012 at 2:55am
I have report include with create Group Name Fields in place Group Header Section, I want give sequential number for Group Name Fields to be :
 No.  GroupNameFileds
 1.1  ................
 1.2  ................
 
How to create this formula ?
 
Thanks
 
 
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 12 Jul 2012 at 4:09am
have a shared variable that you increment, then print it. Like:
shared numbervar group1;
shared numbervar group2;
group2 := group2 + 1;
 
totext(group1, "",0) + "." + totext(group2, "", 0)
 
in group1, you would want to both increment and the group1 counter and reset the group2 counter to 0 when the group changes.
 
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.016 seconds.