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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formula Bold function, and subscripts 1

Status
Not open for further replies.

ReportGuy

Programmer
May 8, 2003
9
US
Hey all,I have two questions.
1.I'm running CR8.5, and I built a formula and I would to bold certain words and letters within the formula. I know I can build
multiple formulas, and place them on the report within Design View and bold them, but I would like to do it within a single formula. I
found a formula called crBold, but I can't figure out how to use it.

2. Can I add subscripts to reports? I have a line of text, and I need to add some notes to the bottom of the page. I would like to
add the number 2 right above my last sentence.
 
There are 2 different approaches, you can use HTML formatting, or you can create multiple formulas and place them in a text object, then each formula can be individually by highlighting and formatting them.

Html method:

whileprintingrecords;
StringVar BBTeam;
BBTeam := &quot;<B>&quot; + {table.field1} + &quot;</B>&quot; + &quot;: &quot; + {table.field2}

Right click the formula field->Format Field->Paragraph Formatting->Text Interpretation->HTML text

This embeds the formatting into the field for the {table.field1}, though you may have to use some html to get the size right as well, as in <font size = 1>

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top