I wrote a very simple script to change the case of a field to title case. The script step is:
Insert Calculated Result[Select:Clinic_Name; TextStyleAdd (Clinic_Name; Titlecase)]
When I use the script debugger I can see that the text changes to title case and then changes back to the previous format.
How can I get the change to stick?