12.07.2015 Views

Using Zen Reports - InterSystems Documentation

Using Zen Reports - InterSystems Documentation

Using Zen Reports - InterSystems Documentation

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

XData ReportDefinitionAttributenameDescriptionThe generates an XML element of this name in the output.If you do not provide a value for name, the generates aname for itself based on the <strong>Zen</strong> report class name. If the group isa the name attribute is required.Aside from name, and attributes fall into two categories related to acquiring andorganizing the source data for the report. The next two topics in this section discuss them:• Building the Query• Break On Field or Expression3.6.2 Building the QueryA or requires a resultset to generate a report. A or can either:• Generate a resultset by providing the query attributes described in this topic;or:• Use the resultset generated by the query that is defined by its containing or .For details, see the section “Nested Groups.”AttributeOnCreateResultSetqueryClassqueryNameruntimeModeDescription(Optional) The name of a server-side callback method to call tocreate a %ResultSet object. The OnCreateResultSet value must bethe name of a server-only class method defined in the <strong>Zen</strong> reportclass. See the details following this table.(Optional) The name of the class containing the query. You mustalso provide a value for queryName.(Optional) The name of the class query that will provide the%ResultSet for this list. You must also provide a value forqueryClass.SQL runtime mode to apply to the %ResultSet object used to fetchresults for this report. The default runtimeMode of 2 is appropriatefor most cases and usually does not need to be changed. Possiblevalues are: 0 for LOGICAL mode, 1 for ODBC mode, and 2 forDISPLAY mode.30 <strong>Using</strong> <strong>Zen</strong> <strong>Reports</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!