Hi Derek.
I thing there is a misunderstadning. Cam does not have binary data in
this field of the database. The question is: how do I build an XML
document form my ZEN report when I have a property of type
%GlobalCharacterStream (that holds no binary data) in my database.
The property is declared as "%Libaray.CharacterStream".
The SQL statement in the XDataReportDefintion of
... sql="SELECT ID, CREATED, LAST_UPD, CREATED_BY, LAST_UPD_BY,
SUMMARY, DESCRIPTION
FROM CT.CTS_ISSUE_TEST
ORDER BY ID">
the resulting XML snippet looks like this:
<?xml version="1.0" encoding="utf-8" ?>
- <ListOfIssue>
- <Issue>
<ID>1</ID>
<CREATED>2009-11-19 11:01:38</CREATED>
<SUMMARY>Y2023</SUMMARY>
<DESCRIPTION> ^ct.dataS %Library.GlobalCharacterStream
^ct.dataS</DESCRIPTION>
</Issue>
See the ELEMENT of DESCRIPTION. These are the 'binary' characters Cam
was referring to. You can see this is not the contents of the stream,
but a reference to the stream.
What't the best way to populate <DESCRIPTION> with all the contents
from this stream field. I investigated expression and %val, but
wouldn't that hit the 32K (or more if long string si enabled) limit at
some stage internally ?
Steve
> For more options, visit this group athttp://
groups.google.com/group/InterSystems-ZEN?hl=en
> Zen Community Terms and Conditions:
http://groups.google.com/group/InterSystems-ZEN/web/community-terms-a...- Hide quoted text -