Solved

HTML font-size syntax

Posted on 2011-02-25
4
343 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
ID: 34980300
Try

 '<font size="9">'

mlmcc
0
 

Author Comment

by:mowit
ID: 34980599
nah, that didn't work.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 34981059
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
ID: 34981115
mlmcc,

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

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

803 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