Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: Programming Post Reply Post New Topic
Author Message
Clrenne
Newbie
Newbie


Joined: 11 Dec 2007
Online Status: Offline
Posts: 1
Quote Clrenne Replybullet Topic: Programming
    Posted: 11 Dec 2007 at 9:59am
I'm trying to program some code to sort the top ten fields of data (highest values). Any ideas, or help?
thanks
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 11 Dec 2007 at 11:44am
CR has a Top-N sort feature. Check within the Group Sort Expert dialog box to set how many items you want it to show. You need to have at least one group in your report and one summary function for it to be enabled.

I cover Top-N reports as well as all the sorting and grouping options in Chapter 3 of my book Crystal Reports Encyclopedia.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
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.020 seconds.