Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Create Lines on Vertical page Post Reply Post New Topic
Author Message
useless
Newbie
Newbie


Joined: 21 Sep 2012
Online Status: Offline
Posts: 3
Quote useless Replybullet Topic: Create Lines on Vertical page
     Posted: 01 Nov 2013 at 2:56am
Hi

I have the following problem. I am creating a job card for a client and they need to print blank lines ton the whole page even if there is only n few lines of available data

eq.

Product No, Description, qty
1234        product ABC   4
-----------------------------
5846        Product cde   6
-----------------------------
Then I need Blank lines printing to the end of the page

IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 06 Nov 2013 at 4:43am
this is always a hard thing to do, as you need to have the empty dummy lines in your dataset.

The easiest solution is to handle the empty creation in a stored procedure...but not everyone can do that. How else might we get the empty data...

There is the concept of a numbers table where you join your data to a table of numbers so that the data repeats

Though the simplest is probably to play with the different values of lines, like to extend to the bottom of the section, and printing sections at the bottom of the page or here is another idea...make a image of the page with lines, add the picture to the report and then underlay the sections. Duplicate the data using a numbers table and then suppress duplicates. Make 1 field that can grow and have a formula that adds blank lines to the field so that it extends (suppress it from printing if not needed)

Hopefully, one of these ideas will prove feasible to you. As always, there are several ways to skin the cat.
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