puttergirl
Programmer
I have a form set up where you select many items from a list and when you save it, it transfers the values into one field on another form separated by commas. Sometimes after changes, I end up with commas at the beginning or end of the string. I would like a function that would remove the commas. For example, I end up with a string like this:
, ROUTINE, TOXICOLOGY, OTHER,
The name of the field is CLINICAL CHEMISTRY. I'm aleady using TRIM to delete spaces from the beginning and end. I've tried using REPLACE and can't get it right. I've tried using MID to find the first comma and LEN to count characters and then use that to delete the last character. I've had more success removing that last period, but none on the first.
Does anyone know of a simple function for this?
, ROUTINE, TOXICOLOGY, OTHER,
The name of the field is CLINICAL CHEMISTRY. I'm aleady using TRIM to delete spaces from the beginning and end. I've tried using REPLACE and can't get it right. I've tried using MID to find the first comma and LEN to count characters and then use that to delete the last character. I've had more success removing that last period, but none on the first.
Does anyone know of a simple function for this?