The one issue that I have is that it is always left aligned even though the label is set to be centre aligned. Is there any way within that script to add a command to centre the text?
As I don’t have a copy of your report template here, I tested this with the label in the Sample Detailed Service Workorder with Grand Total - the label that uses the script to combine city, state and postal code.
I edited the property TextAlignment to MiddleRight, and previewed, and it definitely does it.
I do not have information on how to use text alignment in a script - I would suggestperforming a search online for C# text alignment, as it may show examples.
But I would suggest instead checking your label properties, as when I do it in a sample report template that is using a script to combine fields, the property TextAlignment works correctly.
Thank You - I took what you said and deleted the label, recreated from scratch and it worked fine? Might be a remnant or corruption from the previous version of Ayanova?