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.




Not applicable



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


The following example is in Siebel eScript. For the equivalent Siebel VB example, read FirstRecord Method.

var i = 0;
var isRecord;

with (this)
   SetSearchSpec("Name", "*");
   isRecord = FirstRecord();
while (isRecord)
   isRecord = BusComp.NextRecord();

See Also

FirstRecord Method

Siebel Object Interfaces Reference