Solved

HTML font-size syntax

Posted on 2011-02-25
4
338 Views
Last Modified: 2012-05-11
Whats the correct syntax to change the font size of a concatenated field ? here is an ex of my formula bellow.


if not isnull ({somefield}) and
    {SomeField.Number} <> {SomeFieldAltNumber} then
    "<b>"&{SomeField}&"</b>" &
    " ("&{SomeField.Number} &
   "<font-size: 9pt>" & ", was " & {SomeField} & ")" & "</font>"
else "<b>"&{SomeField}&"</b>" &
    " ("&{SomeField.Number}& ")"


0
Comment
Question by:mowit
  • 2
  • 2
4 Comments
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Try

 '<font size="9">'

mlmcc
0
 

Author Comment

by:mowit
Comment Utility
nah, that didn't work.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
Comment Utility
SIZE is a value of 1-7 not the size of the font
try

if not isnull ({somefield}) and
    {SomeField.Number} <> {SomeFieldAltNumber} then
    "<b>"&{SomeField}&"</b>" &
    " ("&{SomeField.Number} &
   "<font size='+1'>" & ", was " & {SomeField} & ")" & "</font>"
else "<b>"&{SomeField}&"</b>" &
    " ("&{SomeField.Number}& ")"

mlmcc
0
 

Author Comment

by:mowit
Comment Utility
mlmcc,

you never disappoint. Thanks that worked. Consider me your # 1 fan.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video discusses moving either the default database or any database to a new volume.

772 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now