Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old May 24th, 2005, 01:23 PM
Registered User
 
Join Date: Jan 2005
Location: los angeles, ca, USA.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default need to Dynamically group sorting ???

I have Customer and Salesrep group
I need to Dynamically choose the group to sort
I went in to top N/sort group expert, what ever is in the first sorting group is the sorting first.
this changes how ranking of the amount.
somebody helpppppppp.

  #2 (permalink)  
Old May 24th, 2005, 01:34 PM
Authorized User
 
Join Date: Dec 2004
Location: flushing, ny, USA.
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
Default

create a parameter with Customerand sales rep as values to chose.
create a formula
if ?param = 'Customer' then
tab.cust
else if ?param = 'Salesrep' then
tab.salesrep.

group on this formula
  #3 (permalink)  
Old May 24th, 2005, 01:51 PM
Registered User
 
Join Date: Jan 2005
Location: los angeles, ca, USA.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thank you very much for your help.
that do the trick. One thing I had to try to under stand was.
tab.cust (I changed this to {table.customer}, took 1 min to understand what tab.cust was.
once again thank you ;)

  #4 (permalink)  
Old May 24th, 2005, 03:55 PM
Authorized User
 
Join Date: Dec 2004
Location: flushing, ny, USA.
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
Default

sorry to make u wonder.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Restart new group number in Group Footer sukarso Crystal Reports 2 October 13th, 2006 12:11 PM
sorting duplicates in group by Dean Lovell SQL Language 1 September 7th, 2005 01:30 PM
Sorting based on formula in group footer NixyJ Crystal Reports 0 August 27th, 2004 06:37 AM
Datagrid sorting by non alphabetical sorting? LLAndy VS.NET 2002/2003 1 July 15th, 2004 01:20 AM
Cross-tab group options - change dynamically Lines Crystal Reports 0 May 26th, 2004 10:57 AM





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