Solved

HTML font-size syntax

Posted on 2011-02-25
4
346 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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. …
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

756 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