Siebel Pharma Handheld Guide > Print Tagging Language > Overview of Siebel Handheld Print Tagging Language >

GetTotal


Description

Calculates the total for the specified column for all selected rows and assigns the value to a variable.

Usage

Use GetTotal to calculate a column total and display the total in your report.

Syntax

<TAG:GetTotal AppletName="APPLET NAME" FieldName="FIELD NAME" Query="QUERY STRING" Variable="VARIABLE NAME">

Parameter
Description

TAG:GetTotal

(Required) Required tag indicator.

APPLET NAME

(Required) Name of the applet.

FIELD NAME

(Required) Name of the field or column. Specify a field or column with numeric data. If you specify a field with non-numeric data, a 0 is assigned to the variable.

QUERY STRING

(Optional) Search specification for the rows to be included in the total. If not specified, the current search specification is used.

The syntax for the query string is: Field Name|Query Statement. You may specify one or more query strings separated by a vertical bar (|).

For example, Query="Name|LIKE 'Sieb*'"|"Location|LIKE 'H*'"

VARIABLE NAME

(Required) Name of variable where the value is stored.

Example

<TAG:GetTotal AppletName= "CS HH Product Bucket List Applet" Fieldname="Quantity" Variable="ProdBucketListTotal">

Siebel Pharma Handheld Guide