Siebel Object Interfaces Reference > Interfaces Reference > Business Component Methods >

NextRecord Method


NextRecord moves the record pointer to the next record in the business component, making that the current record and invoking any associated script events.

Syntax

BusComp.NextRecord

Argument
Description

Not applicable

 

Returns

An integer in Siebel VB; a Boolean in Siebel eScript and COM: 1 if the record pointer was moved to the next record, 0 if the current record was already the last record.

Used With

COM Data Control, COM Data Server, Java Data Bean, Mobile Web Client Automation Server, Server Script

Example

The following example is in Siebel eScript. For a similar Siebel VB example, see FirstRecord Method.

var isRecord;

with (this)
{

ClearToQuery();
SetSearchSpec("Name", "A*");
ExecuteQuery(ForwardBackward);
isRecord = FirstRecord();
while (isRecord)
{

// do some record manipulation
isRecord = NextRecord();

}

}

Related Topic

FirstRecord Method

Siebel Object Interfaces Reference Copyright © 2008, Oracle. All rights reserved.