• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 419
  • Last Modified:

How to give different top margins in Crystal Reports

I am printing mailing labels from Crystal Reports using VB Code. In one sheet of labels, I have 13 labels on one side with 270 twips top margin and on right side I have another 13 labels with 400 twips top margin. The format of the label is same.  Is is possible to print the whole sheet with two different top margins. I select the fields at runtime. Kindly give me the solution urgently.

0
NILAYANUPA
Asked:
NILAYANUPA
1 Solution
 
mlmccCommented:
As far as I know no.

Crystal doesn't know which column it is in.  One thin to try
Are you printing down first or across first?

In either case add a short detail section before thecurrent detail section (set it to be 130 twips tall.
Conditiionally suppress the section with
//Across
RecordNumber mod 2 = 1

//Down first
RecordNumber <= 13

mlmcc
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now