Siebel Object Interfaces Reference > Interfaces Reference > Business Component Methods >
ExecuteQuery2 Method
ExecuteQuery2 returns a set of BusComp records using the criteria established with methods such as SetSearchSpec. Syntax
BusComp.ExecuteQuery2 ([cursorMode], ignoreMaxCursorSize)
|
|
cursorMode |
An integer. An optional argument 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 argument in the CFG file.
|
Returns
Not applicable Used With
COM Data Control, COM Data Server, Java Data Bean, Mobile Web Client Automation Server, Server Script
|