Nested formatting within an Expression

  • I have report which is being used very much like a Word Merge document to produce a letter. In the footer of the table, there is a lot of text, including this

    ="In order to confirm this reservation, please forward payment to myself no later than "

    & (format(First(Fields!reservedto.Value, "DataSet1"), "dd/M/yyyy")

    & "."

    & " Cheques should be made payable to "

    My question is, can I make the outputted text of (format(First(Fields!reservedto.Value, "DataSet1"), "dd/M/yyyy") bold? The date is formatting just fine for me, but just wondering if I can also bold it? I don't seem to have any luck in doing it.

    The underyling data is a datetime field which I am converting to an nvarchar in the sp (code 103) behind the report.

    Thanks

    Bex

  • I think the only to do this in 2005 is with different textboxes, which complicates a number of things.

    In 2008 I wrote a blog on how to handle this issue:

    http://www.bidn.com/blogs/Daniel/ssas/1574/ssrs-multiple-fonts-sizes-and-colors-in-a-single-text-box

  • Hi Daniel

    Yes, textboxes does seem to be the only way in 2005 - and given that I have a lot more text than I posted, it would be impossible in this situation. I was just hoping someone had something clever up their sleeve.

    Thanks for the link to your post. I've bookmarked it as I had missed that feature in 2008 (I cross between both at times). Very useful - thanks for taking the time to reply, and thanks for documenting such a useful feature of 2008.

    Bex

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply