Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

formatting text in a function 1

Status
Not open for further replies.

Sumisu

Technical User
Jan 23, 2003
5
DE
Hi,

does anyone know how to change the text-format in a function of Crystal Report?

the second part of my function (like "FIRST"+"SECOND"+"THIRD") should be bold, the first and third not.

thx for any help!

Elmar
 
What version on CR are you using? In 7 you will have to bold each separately. That is 3 different fields/formulas.
In 8 you could try this:
(like &quot;FIRST&quot;+&quot;<b>SECOND</b>&quot;+&quot;THIRD&quot;) or
(like &quot;FIRST&quot;+&quot;<strong>SECOND</strong>&quot;+&quot;THIRD&quot;)

I mainly work with v7 so I could be wrong. But give it a try and, if it doesn't work, I'm sure you will get another response soon enough.

Hope this helps.
 
sorry, i forgot to tell: i work with v. 8.0

thx for your hint but both (<b> / <strong>) does not work in version 8. at the moment it only works with separate fields, like your other hint was, but it would be better to have it in the function

regards,
Elmar (sorry for my bad english...)
 
As Stormtrooper meantioned, you'll need 3 formulas to accomplish this unless you upgrade,

In your current environment, you can bold the 2nd formula, and drop all three into a text object to give the appearance of a single field.

-k kai@informeddatadecisions.com
 
Hi Elmar,
Got this tip from Rosemaryl.

You have to be careful of placement as the html tags must be inside of text indicators &quot; &quot;. You can start them in one and end them in another, but to accomplish this one I had to add them:
Format the formula field, paragraph formatting tab, Text Interpretation: HTML Text and perform the following:

&quot;<B>&quot; & totext(minimum({?Parameter})) & &quot;</B> to &quot; & &quot;<B>&quot; & totext(maximum({?Parameter})) & &quot;</B>&quot;

Jacque
 
great! thx, jacque - that works fine!!!

i did not know that it´s possible to format the formula field as html-text...

you made my day!

Greetings,
Elmar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top