NextRecord Method for a Business Component

The NextRecord method moves the record pointer to the next record in a business component, making that record the current record. This method returns the following information:

  • In Siebel VB, an integer that includes one of the following values:

    • 1. Indicates the method successfully moved the record pointer to the next record.

    • 0 (zero). Indicates the method did not move the record pointer because it points to the last record.

  • In Siebel eScript and COM, a Boolean value.

Format

BusComp.NextRecord

No arguments are available.

Used With

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

Examples

The following example is in Siebel eScript:

var isRecord;

with (this)
{

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

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

  }

}

For a similar Siebel VB example, see FirstRecord Method for a Business Component.