Self-Publishing
 Crystal Reports Forum : General Information : Self-Publishing
Message Icon Topic: Adding multiple fields in a group Post Reply Post New Topic
Author Message
Anita0806
Newbie
Newbie


Joined: 04 Dec 2017
Online Status: Offline
Posts: 1
Quote Anita0806 Replybullet Topic: Adding multiple fields in a group
    Posted: 14 Dec 2017 at 12:18pm
I have a SQL
Select Name,address,sum(salary)
from abc
group by name,address
How do I handle group by in Crystal
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 02 Oct 2020 at 5:39am
I know that this is old, and for someone looking for the answer, the simplest way that comes to mind for me is to create a formula that concatenates the fields that you want to group on, and use that as the grouping condition.

There is probably other ways as well.

HTH
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.031 seconds.