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

ExecuteQuery2


ExecuteQuery2 returns a set of BusComp records using the criteria established with methods such as SetSearchSpec.

Syntax

BusComp.ExecuteQuery2 (cursorMode, ignoreMaxCursorSize)

Argument
Description
cursorMode
An integer. An optional parameter that can be one of the following two constants (provided in Siebel VB as well as COM Servers):
  • ForwardBackward. Selected records may be processed from first to last or from last to first. This is the default if no value is specified.
  • ForwardOnly. Selected records can be processed only from the first record to the last record. Focus cannot return to a record.
ignoreMaxCursorSize
  • TRUE. Retrieves every row from a business component. This option may result in lower performance.
  • FALSE. Retrieves the number of rows specified by the MaxCursorSize parameter in the CFG file.

Returns

Not applicable

Usage

ExecuteQuery2 is specific to Microsoft SQL Server.

Used With

Server Script, Mobile/Dedicated Web Client Automation Server, COM Data Control, COM Data Server, Java Data Bean, CORBA Object Manager


 Siebel Object Interfaces Reference 
 Published: 18 June 2003