s = object_name.toString()
When called on a StringWriter object
based on a
templated report, an error occurs if the templated report is not in the process of creation.
The function returns a string containing the current contents of the string buffer, or a blank string on error.