Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 418
  • 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

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