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

Different Text Size in the Concatenations formula

Status
Not open for further replies.

mycrystalbaby

Programmer
Jun 16, 2005
42
US
I am displaying three formulas in one concatenation formula in Crystal report.
I would like to keep the text size for first formula as 12 and next two formulas as 10, how do I do it?
That’s how my formulas is in Crystal

totext({@formula1},0,"")+" "+
{@ formula2}+""+
totext({@formula3} ,0,"")
 
Instead of doing this as a formula, drag & drop the pieces into a Text object. You can format each piece independently.

- Ido

view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
That's what I have done now, but I would like to create the concatenation formula for these three.
Is there a way?
Thanks
Anita
 
Could you please show me the sample, I have never worked with HTML tags before.
Thanks
 
You could set it up so that you only change one of the formulas, and let the other use the regular font size of the concatenation formula itself:

"<font size=4>"+{@formula1}+"</font size>"+{@formula2}+{formula3}

Then format this with format field->paragraph->text interpretation->HTML text. The only problem is that the font sizes don't correspond to the usual. If you try font size = 10, the size won't appear to change. Try 7 and it will become very large.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top