Text size and bold/italics function?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lewe22
    New Member
    • Sep 2007
    • 94

    Text size and bold/italics function?

    Is it possible to enlarge or bold a selection of text within a text box on an access report.

    I want my text to appear as: "Report Unit Type: Registration"

    I can't find any function to do this. I am hoping for something similar to UCase()

    I currently have:
    Code:
    ='Report Unit Type: ' & [FES_LONG_DESCRIPTION]
    Ordinarily i would just have 2 seperate text boxes, one for the header and the other for the detail but i want the text to be centred across the page
  • missinglinq
    Recognized Expert Specialist
    • Nov 2006
    • 3533

    #2
    I think you're pretty much stuck with the method you've already mentioned, having 2 seperate text boxes! They're two methods I've used:

    One way would be to create a label and size it to fit all the way across the page. Then I place a capital X in the label, then set the bold and center attributes. Then I move the label to either just above or just below where the centered text needs to appear. I then use this as a guide in the placement of the text, switching from Design View to Preview. This isn't perfect, because the length of the "Report Unit Type" will vary.

    The best way, where it will be truly centered, is to have it appear on two lines, one under the other. Use the same technique as I mentioned above; create each textbox and size it to fit all the way across the page. Then set the Center attribute on each, and the Bold attribute on the textbox you want bolded. It would look something like this:

    Report Unit Type
    Registration

    Good Luck!

    Linq ;0)>

    Comment

    • Lewe22
      New Member
      • Sep 2007
      • 94

      #3
      Gutted! So there's seriously no known way of having it on the same line?

      Comment

      • Jim Doherty
        Recognized Expert Contributor
        • Aug 2007
        • 897

        #4
        Originally posted by Lewe22
        Gutted! So there's seriously no known way of having it on the same line?
        If you're prepared to hone your coding skills (because basically Access cannot do everytihng in the world by default) Stephen Lebans the entreprenaurial master workaround magician that he is, has already addressed this in some of the downloads he has kindly made available on his site.. You might want to look particularly at the 'Mix-Bold Plain' section of his web page?



        Regards

        Jim :)

        Comment

        • Scott Price
          Recognized Expert Top Contributor
          • Jul 2007
          • 1384

          #5
          Subscribing... Jim, you've likely saved me from losing all the hair I have left that isn't grey yet :-) Thanks for that link!

          Regards,
          Scott

          Comment

          • Jim Doherty
            Recognized Expert Contributor
            • Aug 2007
            • 897

            #6
            Originally posted by Scott Price
            Subscribing... Jim, you've likely saved me from losing all the hair I have left that isn't grey yet :-) Thanks for that link!

            Regards,
            Scott

            Ahahahahah.... Scott grey hair is distinguished or so I'm told

            Jim :)

            Comment

            • Scott Price
              Recognized Expert Top Contributor
              • Jul 2007
              • 1384

              #7
              Grey *may* = Distinguished, but
              Bald *does* = Extinguished LOL

              Regards,
              Scott

              Comment

              • missinglinq
                Recognized Expert Specialist
                • Nov 2006
                • 3533

                #8
                That's one of Stepen's gems I've missed! I'll have to put it in my help files!

                Linq ;0)>

                Comment

                Working...