Name field in a report - formatting issue

  • Hello

    In one of my reports a name field is bringing through people's names as:

    john.smith

    I have added =StrConv(Fields!name.value,vbProperCase). This now brings them through as John.Smith, which is better, but is there a way of removing the full stop between 'john' and 'smith'?

    Any suggestions welcome, thanks.

  • Try the REPLACE function.

    =Replace(StrConv(Fields!name.value,vbProperCase),"."," ")

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • Worked perfectly - thank you.

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

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