Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 20th, 2004, 11:58 AM
Registered User
 
Join Date: Nov 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to sort Report?

Window App that I accept User selections for which fields to output and User selects which field to sort on. I then use RecordSelectionFormula to limit records for output. My question is how do I code in the RecordSelectionFormula for sorting? I am new at Crystal Reports and I have looked at all the books that I have. So if this is something simple and I am just not smart enough to find it, it is OK to say so. But it is driving me crazy. Thanks for any help. MIke.

 
Old July 27th, 2004, 02:43 PM
Registered User
 
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I was searching for this answer too. Take a look at this:

http://msdn.microsoft.com/library/en...tomization.asp

You have to create first a CrystalDecisions.CrystalReports.Engine.FieldDefini tion object and set it up to the field that you want to sort, then set the DataDefinition.SortFields(0).Field with this value.

Follow the link and look closer...it will explain better then me! :)

Best regards

Abrahin





Similar Threads
Thread Thread Starter Forum Replies Last Post
sort items in the report manager aranjan BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 September 28th, 2007 03:35 PM
User selection to sort records in a Crystal Report MisterN Crystal Reports 1 January 24th, 2007 01:03 PM
how to sort cross tab.sort based on row total joxa83 Crystal Reports 7 March 2nd, 2006 09:12 AM
Unable to sort using xsl sort command sly_jimmy_boy XSLT 3 June 17th, 2005 05:15 AM
Sort Report by MONTH field in an ADP View Richard Lally Access 6 January 24th, 2005 10:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.