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

ExecuteQuery2 Method

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


BusComp.ExecuteQuery2 ([cursorMode], ignoreMaxCursorSize)



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.


  • 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.

Not applicable

Used With

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

Siebel Object Interfaces Reference Copyright © 2008, Oracle. All rights reserved.