cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Basic Syntax - WhileprintingRecords

0 Likes
416

Should the below formula print the number of records in a group?

I can't get this to produce anything but 1

Dim ctr as number
ctr = 0
whileprintingrecords()
ctr = (ctr + 1)

formula = ctr

Need a little help.

I've read about the report passes, but clearly I'm missing some detail on using this important feature

Accepted Solutions (0)

Answers (1)

Answers (1)

DellSC
Active Contributor
0 Likes

There is a MUCH easier way to do this!

If you need to show the "record number" within the group for each record, use a Running Total that counts the records and resets for each group.

If you just need the count for the group, use the summary function Count(<some key field>, <group field>).

-Dell