Siebel Sales Handheld Guide > Print Tagging Language > Get and Set Tags >

GetField Tag


The GetField tag returns the value of the first record (in the first row of selected rows) in a specified column and assigns the result to a variable.

Usage

Use the GetField tag 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 (or column).

GetField only allows you to obtain 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.

appletname

(Required) Name of the applet.

fieldname

(Required) Name of the field or column.

query

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

sort

(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

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

Example

<TAG:GetField appletname="CS HH Product Bucket List Applet" fieldname="Quantity" variable="ProdBucketListField">

Siebel Sales Handheld Guide Copyright © 2007, Oracle. All rights reserved.