?
Solved

Bold string in a formula field

Posted on 2014-11-07
2
Medium Priority
?
247 Views
Last Modified: 2014-11-13
How do I go about bolding part of a formula field that is a string?  
My formula is as follows and I want to bold the string: *DTC*

if {receiver.r_ussname} startswith "DTC" then
    {receiver.r_letter}& " *DTC*"
Else
    {receiver.r_letter}


Thanks!
0
Comment
Question by:IO_Dork
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 40429197
I can think of 2 ways to do this.

1.  Add a text box to the report where you want to display
     Drag the {receiver.r_letter} field into the box
     Change your formula to
if {receiver.r_ussname} startswith "DTC" then
     " *DTC*"
 Else
    ""

Open in new window

   Drag the new formula into the text box
    Right click the text box
    Click EDIT
    Select the formula field
    Set it BOLD through the ribbon

2.  Use your formula but add HTML or RTF encoding to it
if {receiver.r_ussname} startswith "DTC" then
     {receiver.r_letter}& " <b>*DTC*>/b>"
 Else
     {receiver.r_letter}

Open in new window

Put it on the report
Right click it
Click FORMAT FIELD
Click the COMMON TAB
Set the interpretation to HTML

mlmcc
0
 

Author Closing Comment

by:IO_Dork
ID: 40441191
thanks!
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question