Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Background Colour in the Report Footer Post Reply Post New Topic
Page  of 2 Next >>
Author Message
PanHR
Newbie
Newbie


Joined: 07 Mar 2011
Online Status: Offline
Posts: 17
Quote PanHR Replybullet Topic: Background Colour in the Report Footer
    Posted: 07 Mar 2011 at 4:12am
Hi, I was wondering if there is any way for me to highlight certain information in the Report Footer.

Thanks,

PanHR
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 07 Mar 2011 at 4:16am
Yes. How depends on what you want to highlight and if you are doing it conditionally or constantly.
IP IP Logged
PanHR
Newbie
Newbie


Joined: 07 Mar 2011
Online Status: Offline
Posts: 17
Quote PanHR Replybullet Posted: 07 Mar 2011 at 8:38am
It's not conditional there are two line in the report footer and I want one of them to be highlighted.

Thanks,

PanHR
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 07 Mar 2011 at 8:40am
you want the whole section (e.g. report footer a) to be 'highlighted'?
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 07 Mar 2011 at 9:01am
if so, go into the section expert
select the section you want to highlight (e.g. report footer a)
click on the color tab (on the right hand side next to the 'common' tab)
check the 'background color' box as TRUE
select the color you want from the drop down list or use the 'more' option to use a different color.
IP IP Logged
PanHR
Newbie
Newbie


Joined: 07 Mar 2011
Online Status: Offline
Posts: 17
Quote PanHR Replybullet Posted: 07 Mar 2011 at 9:35am
Thanks for your help but I want to highlight just a part of the report footer. I want to highlight the first line of a sentence.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 07 Mar 2011 at 9:39am

is it a text field in crystal or a string field from the db?

you only want to highlight the background of the first "line" or first "sentence"?
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 07 Mar 2011 at 9:40am
can you post a sample?
IP IP Logged
PanHR
Newbie
Newbie


Joined: 07 Mar 2011
Online Status: Offline
Posts: 17
Quote PanHR Replybullet Posted: 08 Mar 2011 at 3:22am
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
I want to highlight the line with the a's only.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 08 Mar 2011 at 4:08am

I will assume this is a string field type from the db and not a text field you inserted into the report.

I think you will have to split the field into two and highlighht the background color of one field only.
you can use left() and mid() functions to split it. exactly how depends on what the consistnet logic is that can be applied to each field to always get the 'a', (maybe a carriage return).
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.