Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Need Counter to display "Sr No." in Report Post Reply Post New Topic
Author Message
abhiguru
Newbie
Newbie


Joined: 26 Sep 2010
Online Status: Offline
Posts: 4
Quote abhiguru Replybullet Topic: Need Counter to display "Sr No." in Report
    Posted: 28 Sep 2010 at 12:59am
Hi

I want to show Sr.No. in report output e.g

Page Hdr Sec      Sr. No.   Col_2       Col_3
Group Hdr Sec     1.            A             100
Group Hdr Sec     2.            B             200
Group Hdr Sec     3.            C             300
Group Hdr Sec     4.            D             400

I am creating a formulae field using this but its not working

NumberVar i :=1;
whileprintingrecords;
i=i+1;
i
Note:- I am supressing the Detail Section and showing only Groupheader section as shown above.






Edited by abhiguru - 28 Sep 2010 at 8:57pm
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 29 Sep 2010 at 3:08am
i := i + 1;
 
need to use the assignment, not the equality symbol
 
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.