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

RefineQuery Method


This method refines a query after the query has been executed.

Syntax

BusComp.RefineQuery

Argument
Description

Not applicable

 

Returns

Not applicable

Usage

Unlike ClearToQuery, RefineQuery retains the existing query specification and allows you to add search conditions based only on those fields that have not been set by previous search expressions. RefineQuery may be most useful when used in conjunction with GetNamedSearch.

Used With

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

Example

The following Siebel VB code fragment shows how RefineQuery might be used.

me.ActivateField "Status"
me.SetSearchSpec "Status", "Open"
me.ClearToQuery
me.ExecuteQuery
me.RefineQuery
me.SetSearchSpec "Substatus", "Assigned"
me.ExecuteQuery

See Also

ClearToQuery Method
GetNamedSearch Method

Siebel Object Interfaces Reference