Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Making a record appear more than once Post Reply Post New Topic
Author Message
andrewljones200
Newbie
Newbie
Avatar

Joined: 19 Mar 2009
Online Status: Offline
Posts: 1
Quote andrewljones200 Replybullet Topic: Making a record appear more than once
     Posted: 19 Mar 2009 at 3:18am
Hi,

I have an issue where i have written a report which produces goods receipt labels, but our database stores the goods receipt info as one record, ie.

Product Code          Quantity

ABC1                       2
ABC2                       3
ABC4                       259 ...etc

So because it is one record when i run the label report each product code is only showing once on the report rather than the number of times as is required (the number of labels required is the quantity)

Is there a way to get crystal to display the records a number of times based on the value in the Quantity field?

Thanks
AJ.
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 19 Mar 2009 at 6:14am
Not that I am aware of. 
 
Crystal only sees the number of records that exist in the dataset.  You can create multiples by joining a table to itself (hilfy has answered posts like this) or if the number of labels is determined from some other table (say orders) then you can join the tables together and get multiple records, or if you use a stored procedure, you could manipulate the data to give duplicate records...but with only 1 record I don't know of a way to make Crystal report it multiple times.
IP IP Logged
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