Print Page | Close Window

limit number of records

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=15223
Printed Date: 01 May 2024 at 8:42pm


Topic: limit number of records
Posted By: bartas
Subject: limit number of records
Date Posted: 22 Dec 2011 at 10:34am
How to limit number of records in detail section ? I have 20 records, but I only want to show only first 12 records and the rest must  be hidden.



Replies:
Posted By: kevlray
Date Posted: 23 Dec 2011 at 6:29am
I am making some assumptions here, but give this a try.  In the detail section suppression formula, put in RecordNumber >12.

I hope this helps.


Posted By: bartas
Date Posted: 23 Dec 2011 at 11:53pm
Yes it helps. RecordNumber > 12 makes exactly what I want.
Thank you.



Print Page | Close Window