• Formatting Merged Fields (2003)

    Author
    Topic
    #440834

    I have three fields in a table. FirstName; SecondName and LastName. In a query, I create a merged field called FullName: [FirstName] &” “&[SecondName]&” “&[LastName]
    When I display the FullName field on a form, I wish to show the LastName part only of the merged field in upper case. I have formated the LastName field in the Table to Upper Case (Using > in format field), but get Sentence case on my form for the whole field. I notice that the data has actually been entered (or more correctly imported from Excel) with all three fields having an initial capital letter, ie Sentence case)

    Any ideas on clever ways to force the third part of my merged field to all capitals? or as Bold Font perhaps? Would appreciate the reply.

    Viewing 0 reply threads
    Author
    Replies
    • #1056976

      Try

      FullName: [FirstName] & " " & [SecondName] & " " & UCase([LastName])

      The UCase function converts its argument to upper case.

      • #1056977

        Wonderful Hans. I barely had time to make a coffee after my post, before I saw your reply. Must be late in Netherlands, but once again thanks. As soon as I saw your answer, I hit myself in the head, It was obvious (after someone pointed it out)

    Viewing 0 reply threads
    Reply To: Formatting Merged Fields (2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: