Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Page Footer Orentation Post Reply Post New Topic
Page  of 2 Next >>
Author Message
Dr4ke
Senior Member
Senior Member


Joined: 09 May 2014
Online Status: Offline
Posts: 209
Quote Dr4ke Replybullet Topic: Page Footer Orentation
    Posted: 02 Oct 2014 at 6:31am
Good afternoon,

I currently have a Page Footer which contains the page number and my company logo. The problem I am currently experiencing is that when I use Landscape orientation on pages the logo (far right in the design view) appears in the center.

I cannot change the Report Footer to be Landscape or move/copy the logo to the far right for the Landscape pages....

Is there a way around this?
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 03 Oct 2014 at 5:22am
why not have 2 logos, one that is suppressed if the orientation is landscape and one that is displayed.

if you have a way of rotating the page, there must be logic that can be used to move the logo or conditionally suppress it.
IP IP Logged
Dr4ke
Senior Member
Senior Member


Joined: 09 May 2014
Online Status: Offline
Posts: 209
Quote Dr4ke Replybullet Posted: 03 Oct 2014 at 5:49am
There isn't the ability to have a logo at the desired location (far right of a landscape orientation) and I can't amend the orientation to landscape...
IP IP Logged
z9962
Senior Member
Senior Member
Avatar

Joined: 04 Jul 2012
Online Status: Offline
Posts: 161
Quote z9962 Replybullet Posted: 05 Oct 2014 at 9:40pm

Is it happening when you change the page between portrait/landscape through the selection expert?

 
You do have a function CurrentPageOrientation which will equal crportrait or crlandscape
 
You can then have two PFs and use the above function to suppress depending on the layout.
 
To design the landscape version you will need to change the whole report to landscape, design as required then change back to portrait as crystal doesnt like you putting things off the edge of the page.
IP IP Logged
Dr4ke
Senior Member
Senior Member


Joined: 09 May 2014
Online Status: Offline
Posts: 209
Quote Dr4ke Replybullet Posted: 05 Oct 2014 at 10:17pm
Morning,

I think that's the problem I can't change the page between Portrait/Landscape through Selection Expert; the 'Orientation' section is completely greyed out.

The function and design help provided is going to prove really useful if I can get the 'greyed out' issue resolved :-).
IP IP Logged
z9962
Senior Member
Senior Member
Avatar

Joined: 04 Jul 2012
Online Status: Offline
Posts: 161
Quote z9962 Replybullet Posted: 05 Oct 2014 at 10:19pm
what section are you trying to change the page orientation?
IP IP Logged
Dr4ke
Senior Member
Senior Member


Joined: 09 May 2014
Online Status: Offline
Posts: 209
Quote Dr4ke Replybullet Posted: 05 Oct 2014 at 10:23pm
The Page Footer
IP IP Logged
Dr4ke
Senior Member
Senior Member


Joined: 09 May 2014
Online Status: Offline
Posts: 209
Quote Dr4ke Replybullet Posted: 05 Oct 2014 at 10:24pm
Everything apart from Page Header and Page Footer appear to allow orientation configuration...
IP IP Logged
z9962
Senior Member
Senior Member
Avatar

Joined: 04 Jul 2012
Online Status: Offline
Posts: 161
Quote z9962 Replybullet Posted: 05 Oct 2014 at 10:28pm
you need to change it in the group or details section.
 
What you can do is in the group, create two sections.
A for portrait, B for landscape
if both sections do a custom suppress depending on your criteria, therefore it will only change when that criteria is met.
 
you should also have new page before or after set for that group depending on your requirements.
 
IP IP Logged
Dr4ke
Senior Member
Senior Member


Joined: 09 May 2014
Online Status: Offline
Posts: 209
Quote Dr4ke Replybullet Posted: 05 Oct 2014 at 10:30pm
Thank you for that - I think I need to reread it a couple of times and think about what Changes are needed to my report (luckily it's made up of subreports so won't be too difficult to execute).

I'll try it and report back. Thanks again!
IP IP Logged
Page  of 2 Next >>
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.031 seconds.