Results 1 to 3 of 3
  1. #1
    Star Lounger
    Join Date
    Sep 2001
    Location
    Adelaide, South Australia, Australia
    Posts
    52
    Thanks
    0
    Thanked 0 Times in 0 Posts

    String Formatting (Access 2003)

    Can anyone tell me if it is possible to use different text formatting in a textbox string in a report. The text box is used to display the following "total score of 381 out of a maximum of 500" this is a concatenated string the '381' taken from a field. I would like the '381' and the '500' to be formatted in Bold type. <img src=/S/scratch.gif border=0 alt=scratch width=25 height=29>
    Cheryl =^..^=

    IS Support, Adelaide <img src=/S/granny.gif border=0 alt=granny width=20 height=20>

    <img src=/S/flags/Australia.gif border=0 alt=Australia width=30 height=18>

  2. #2
    Super Moderator
    Join Date
    Jun 2002
    Location
    Mt Macedon, Victoria, Australia
    Posts
    3,993
    Thanks
    1
    Thanked 45 Times in 44 Posts

    Re: String Formatting (Access 2003)

    No

    Access text boxes are plain text, which means the whole thing is in the same font.

    To do what you want you need to use Rich Text Controls, but Microsoft doesn't allow its use in MS Office any more for security reasons.

    There are also some third party versions, but they are a lot of trouble, and there are restrictions on how you can use them.

    So how important is the bit of bold text?
    Regards
    John



  3. #3
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: String Formatting (Access 2003)

    An alternative would be to use a text box and three labels. First a label whose caption is "total score of". Then a text box displaying the score in bold text. Next to it, a label whose caption reads "out of a maximum of", and finally a label with bold caption "500".

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •