| |
   
Morovia.com Home | Fonts | Components | Labeling | Library | Order | Forum
  Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
Crystal Reports
 Community Forum : Crystal Reports
Subject Topic: Format text in part of a string Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
mikef001
Newbie
Newbie
Avatar

Joined: October 11 2006
Location: United States
Posts: 1
Posted: October 11 2006 at 12:59pm | IP Logged Quote mikef001

I have a report that the heading and body text change based on a formula in the report.

Part of the formula needs to be bold but the remaining portions do not. I want to make only the cstr(Sum ({ado.unpaid}, {ado.T_sCode})) bold in the following formula with the remaining text not bold, can anyone help?

if {?Notice} = '10-Day' then 'You are required to pay $' + cstr(Sum ({ado.unpaid}, {ado.T_sCode})) + ', payment of which must be in the form of certified funds or money order, within 10 days of receipt of this notice, to the landlord agent named below, or in the alternative, to vacate and surrender possession of the premises.' else

 

Thanks in advance

Back to Top View mikef001's Profile Search for other posts by mikef001
 
Capura
Newbie
Newbie


Joined: January 10 2007
Location: Sweden
Posts: 1
Posted: January 10 2007 at 5:35am | IP Logged Quote Capura

Hi.

If you try something like this (in Basic syntax):

Dim TextBody as String

TextBody = "<b>FirstName:</b>&nbsp;&nbsp;" + {MyTable.FirstName}

and then format text for "Text Interpretation = HTML", then the headline (FirstName) will be bold and the name is regular text.

 

Back to Top View Capura's Profile Search for other posts by Capura
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost 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 4.3262 seconds.