TableStatistic Tag Use

Used In

HTML Layout Pages and Page Templates

Code Generation Tag Attributes

Attribute

Required

Description

Name

Yes

The name of this tag.  This name must be unique within the file and cannot contain spaces.

Type

Yes

The type of information to display.  The following two types are supported:

Count

Displays the total number of records returned by the query specified in the tag’s Properties dialog.

Sum

Displays the sum of a field for all the records returned by the query specified in the tag’s Properties dialog.

Examples

     <table>
         <tr>
           <td>Sales Quotes Sent</td>
           <td<GEN:TableStatistic Name=”QuotesSent” Type=”Count”/></td>
         </tr>

         <tr>
           <td>Dollar Value of Quotes Outstanding</td>
           <td<GEN:TableStatistic Name=”QuotesValue” Type=”Sum”/></td>
         </tr>

      </table>

See Also

TableStatistic Tag