For some records in the database, last name field ends with ^. I want to trim this character off where it exists. I am using an If statement but how do I only trim the right most character? This is what I have so far...
If Right({CSL_STD_DEMO_DISTRICT.FIRST_NAME},1) = "^" then TrimRight({CSL_STD_DEMO_DISTRICT.FIRST_NAME},1) else
{CSL_STD_DEMO_DISTRICT.FIRST_NAME}
The TrimRight part of the statement is not correct.
Thanks for your help!
Hillary
If Right({CSL_STD_DEMO_DISTRICT.FIRST_NAME},1) = "^" then TrimRight({CSL_STD_DEMO_DISTRICT.FIRST_NAME},1) else
{CSL_STD_DEMO_DISTRICT.FIRST_NAME}
The TrimRight part of the statement is not correct.
Thanks for your help!
Hillary