Print Page | Close Window

How to highlight only Text and Not Entire Field

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Technical Questions
Forum Discription: Formulas, charting data, Crystal syntax, etc.
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=22738
Printed Date: 02 May 2024 at 6:04am


Topic: How to highlight only Text and Not Entire Field
Posted By: JohnH1976
Subject: How to highlight only Text and Not Entire Field
Date Posted: 04 Mar 2019 at 7:31am
Hello:

I have a field that stretches the entire width of the page, about 7.5". If I add a highlight (color background) to the field, the entire field receives the highlight, regardless of the length of the data in the field. How can I highlight just the returned data?




Replies:
Posted By: kevlray
Date Posted: 04 Mar 2019 at 10:18am
Just the 'Returned Data'? Please explain.


Posted By: JohnH1976
Date Posted: 04 Mar 2019 at 12:20pm
It's simply the contents of the field. I'm looking to highlight just the information that gets returned, not the entire space allotted to the field.


Posted By: DBlank
Date Posted: 05 Mar 2019 at 3:22am
I am not seeing anyway to do this. I thought maybe through HTML but that didn't seem to work in my tests.
Can you just change the font color rather than the background color?


Posted By: Valert16
Date Posted: 05 Mar 2019 at 8:09am
Try this

Right click the field --> Format Field... --> Border --> Tight Horizontal


Posted By: DBlank
Date Posted: 05 Mar 2019 at 8:12am
Nice Valert16, never needed to use that attribute before. Thanks for sharing.


Posted By: JohnH1976
Date Posted: 05 Mar 2019 at 10:11am
Valert16, thank you so much!



Print Page | Close Window