Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: new to crystal - simple question Post Reply Post New Topic
Author Message
DCSPaul
Newbie
Newbie


Joined: 11 May 2011
Online Status: Offline
Posts: 1
Quote DCSPaul Replybullet Topic: new to crystal - simple question
    Posted: 11 May 2011 at 2:17pm
I have a stock report for inventory labels, and want to change it so that instead of printing one label for each item it prints the quantity that I have in stock.

or even the quantity that was received from a purchase order.

or the quantity that is on a purchase order so I can pre-print labels before the items show up.


IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 12 May 2011 at 3:12am
this is a recurring request.
 
Best answer that I have seen/remember is to have a 'numbers' table, 1,2,3,4,5,6... then join your numbers table to your data table linking the numbers to the po (for example). 
 
If you have 6 widgets on the po, and the table is linked to <= 6, then you get 6 records.  Alternatively, you can create your table to be 1,2,2,3,3,3,4,4,4,4.... and then join on the actual value, both create multiple rows that look identical.
 
HTH
 
ps in the post that I found this in, the poster used an excel spreadsheet and a Command object to create his 'numbers' table.
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.