Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

SSRS or MS SQL Irish Names case conversion

  • 10-03-2014 2:05pm
    #1
    Banned (with Prison Access) Posts: 1,279 ✭✭✭


    Hi Guys,

    This question is completely arcane and I am just tossing it out there.

    My problem is that I work with a data source that stores names in the format
    Firstname (ALL CAPS) Surname (ALL CAPS).

    In SSRS I have the expression =StrConv(Fields!Firstname.Value,3) &" "& StrConv(Fields!Surname.Value,3)

    Great stuff as SEAN KIDNEYFAN now becomes Sean Kidneyfan and MARY KIDNEYFAN becomes Mary Kidneyfan.

    BUT

    MARY O'KIDNEYFAN is now Mary O'kidneyfan
    SEAN MCKIDNEYFAN is now Sean Mckidneyfan

    I can control the data and replace the names O'KIDNEYFAN with O' KIDNEYFAN etc. but I'd prefer not to do that.

    Thanks in advance?


Comments

  • Closed Accounts Posts: 8,015 ✭✭✭CreepingDeath


    Can you use regular expressions ?


  • Banned (with Prison Access) Posts: 1,279 ✭✭✭kidneyfan


    The application supports regular expressions.
    So far as my ability to use them is concerned ...


    What I did in the end was to =StrConv(Replace(Fields!SurName.Value,”'”, "' "),3) Buried in all those double quotes is an apostrophe replaced with apostrophe space. The string conversion works fine.


Advertisement