Print Page | Close Window

How to combine rows with the same ID

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Technical Questions
Forum Discription: Formulas, charting data, Crystal syntax, etc.
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=22494
Printed Date: 27 Apr 2024 at 1:22pm


Topic: How to combine rows with the same ID
Posted By: Tegningen
Subject: How to combine rows with the same ID
Date Posted: 07 Nov 2017 at 3:46am
Hi, i have a packingslip report where we list what we have picked for the customers. But even tho an item is the same it will list them as a line per stock record in our warehouse system. How can i combine equal SKU lines and qty so is will only be listed one time?

As it is now it will list like this.

SKU - Description - QTY

92011 - sombrero - 1
92011 - sombrero - 6
0122 - Hat - 8
0122 - Hat - 1

How can i combine this into:

SKU - Description - QTY

92011 - Sombrero - 7
0122 - Hat - 9

Thank you in advance :)



Replies:
Posted By: DBlank
Date Posted: 07 Nov 2017 at 4:52am
Group on SKU
suppress details
place the SKU and Description on the Report Header (or footer) and add a SUM of QTY for for the group



Print Page | Close Window