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 7th, 2004, 01:32 AM
Registered User
 
Join Date: May 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Group on multiple fields

Is it possible in CR to group on multiple fields? I want a new group header when ever either of two different fields changes. My Primary Key consists of two fields (Order Number and Client, since different Clients could have the same Order Number).

When I insert a new group, it only allows me to pick one field to group on. If I have to, I'll add a calculated field that combines the two fields and group on that, but that sounds like a kludge to me. I'd rather do it the "right" way before I try to force it to work. :)

-----
leep

  #2 (permalink)  
Old May 18th, 2004, 02:11 AM
Registered User
 
Join Date: May 2004
Location: Murmansk, , Russia.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

USE HIDE COLUMN - IDENTITY FIELD EXAMPLE

  #3 (permalink)  
Old May 21st, 2004, 01:12 AM
Registered User
 
Join Date: May 2004
Location: Brooklyn, NY, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Create formula field, which will contain those two fields together and create a group by that formula field. I guess this is the right way to resolve this problem.

Vadim



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to group by two Fields in CR.NET pajer Crystal Reports 2 October 14th, 2004 05:29 AM
Running Total Fields per Group edramail Crystal Reports 0 May 6th, 2004 08:19 PM
Updating multiple Rows from multiple fields in ASP vdm_nana SQL Server ASP 0 April 1st, 2004 04:26 AM
Multiple Fields Search Helmut Classic ASP Databases 4 July 15th, 2003 02:47 PM





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