Originally posted by Keikoku
Do the values in those fields have commas at the end?
Yes they are like this
emails, no contact, supervised, letter, phone call,
The problem is I only like to remove the last comma which is after the phone call.... there can be more after phone call, like unsupervised visits as well or even be just 2 like emails[comma] and supervised[comma]. This is on a text box field from the database from sql.
TRIMLEFT({@Visit Type - Email}+' '+{@Visit Type - No Contact}+'
'+{@Visit Type - Supervised}+' '+{@Visit Type - Letter}+' '+{@Visit Type
- Phone Call}+' '+{@Visit Type - Unsupervised Visits})