Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Business Component Methods >
NextRecord
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
oBusComp.NextRecord
Returns
An integer in Siebel VB; a Boolean in Siebel eScript and COM: 1 if the current record was moved to the next record, 0 if the current record was already the last record.
Used With
Server Script, Mobile/Dedicated Web Client Automation Server, COM Data Control, COM Data Server, Java Data Bean, CORBA Object Manager
Example
Here is a Siebel eScript example. For the equivalent Siebel VB example, read FirstRecord.
var i = 0;
var isRecord;with (this)
{
ClearToQuery();
SetSearchSpec("Name", "*");
ExecuteQuery(ForwardBackward);
isRecord = FirstRecord();
}
while (isRecord)
{
i++;
isRecord = BusComp.NextRecord();
}See Also
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference Published: 18 June 2003 |