Siebel eConsumer Goods Handheld Guide for Windows-Powered Devices > Print Tagging Language > Overview >

GetField


Description

Gets the value of the specified column of the first row of selected rows and assigns the result to a variable.

Usage

Use GetField to print a value without developing a print applet. Design the query and sort strings so that the desired record is the first record in the selected rows. GetField only allows you to get the value in the first record.

Syntax

<TAG:GetField AppletName="APPLET NAME" Fieldname="FIELD NAME" Query="QUERY STRING" Sort="SORT STRING" Variable="VARIABLE NAME">

Parameter
Description
TAG:GetField
(Required) Required tag indicator.
APPLET NAME
(Required) Name of the applet.
FIELD NAME
(Required) Name of the field or column.
QUERY STRING
(Optional) Search specification for the rows to be included in the total. If not specified, the current search specification is used.
SORT STRING
(Optional) Sort specification. If not specified, the current sort specification is used.
The syntax is: Field Name [ASC][DESC]. The default is ASC (Ascending).
For example: Sort="Account DESC, Date". In the example, the Account field is sorted in descending order, then the date field is sorted in ascending order.
VARIABLE NAME
(Required) Name of variable where the value is stored.

Example

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


 Siebel eConsumer Goods Handheld Guide for Windows-Powered Devices 
 Published: 18 July 2003