Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Report Design
Crystal Reports Forum
:
Crystal Reports 9 through 2020
:
Report Design
Topic: Incremental Record Number
Oldest Post First
Newest Post First
Author
Message
debmac
Newbie
Joined: 26 Apr 2009
Location: Australia
Online Status: Offline
Posts: 12
Topic: Incremental Record Number
Posted: 11 May 2009 at 5:39pm
I need to add an incremental record number to a report, so each line would look like:
1 abc
2 def
3 ghi
I have tried the Record Number field, but the record numbers dont start at 1 and are not consecutive.
Anyone has a formula or similar I could use?
many thanks
IP Logged
angelyin1984
Newbie
Joined: 08 May 2009
Location: Malaysia
Online Status: Offline
Posts: 30
Posted: 11 May 2009 at 11:19pm
or try to use group number(field explorer -> special field -> group number)
IP Logged
lockwelle
Moderator
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Posted: 12 May 2009 at 6:26am
shared variables. whereever you need the numbering to start, set it to 0 in the group above. In the section you want the number a formula like:
shared numberVar lineNo := lineNo +1
HTH
IP Logged
debmac
Newbie
Joined: 26 Apr 2009
Location: Australia
Online Status: Offline
Posts: 12
Posted: 12 May 2009 at 4:15pm
the formula worked. thanks heaps!
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
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.
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
CLICK PLAYS
|
COACH FORUMS
|
TROPICAL FISH
© 2004-2024 Brian Bischof. All Rights Reserved.