Bill Martin
Bill Martin

Reputation: 4943

Crystal Reports in Visual Studio - Can margins be dynamically changed?

I have a report where the first page has a certain top and bottom margin. Every page after that will have a different margin from the first. Is there a way to do this in Crystal Reports in Visual Studio 2008?

Upvotes: 1

Views: 2843

Answers (2)

dotjoe
dotjoe

Reputation: 26940

I assume every page, except for the first, will have the same page margins?

In that case you can simply add two page headers and page footers and simply use a suppress formula such as pagenumber = 1 and pagenumber <> 1.

Upvotes: 3

MartW
MartW

Reputation: 12538

I don't know if it's in the Crystal Reports version included with Visual Studio 2008, but in the full Crystal Reports 2008 there's a new bit on the Page Setup screen for conditional margin formulas, allowing you to set the margins based on a formula. Referenced here :

http://www.forumtopics.com/busobj/viewtopic.php?t=134480

Upvotes: 0

Related Questions