Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Serial Number need to be itemized.. Post Reply Post New Topic
Author Message
shirase22
Newbie
Newbie
Avatar

Joined: 22 Nov 2008
Location: Philippines
Online Status: Offline
Posts: 9
Quote shirase22 Replybullet Topic: Serial Number need to be itemized..
    Posted: 15 Dec 2008 at 9:21pm
Hi all,

I have a report that is written this way

ITEM ID    QTY       Item Description
001           1          Laptop
002           3          Keyboards

Serial nos. ahk0001 for Laptop, ahk002,ahk003,ahk004 for mouse.

serial nos. is a subreport which has a formula:

for the header:
WhilePrintingRecords;
If Not InRepeatedGroupHeader then stringvar serials:=""

for the footer:
WhilePrintingRecords;
stringvar serials;

for the serials:
WhilePrintingRecords;
If OnFirstRecord then stringvar serials:={JrnlSNum.SerialNumber} else
If {JrnlSNum.SerialNumber}=Previous ({JrnlSNum.SerialNumber}) then stringvar serials:=serials else
stringvar serials:=serials+","+{JrnlSNum.SerialNumber}

Now i want the report to bi itemized like this

ITEM ID    QTY       Item Description
001           1          Laptop
serial no.              ahk001
002           3          Keyboards
serial no.              ahk002,ahk003,ahk004

Whats the formula for this?
Any help would be great Thanks..


Practice makes perfect
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.016 seconds.