Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Page class > Methods

setTabWhere (deprecated)

Scroll Prev Next More

 

Deprecated

The setTabWhere method is deprecated, we recommend using Additional WHERE tabs API: setTabWhere instead.

 

This method sets the WHERE clause of one of the Additional WHERE tabs on the List page. The setTabWhere method is available in the BeforePocess event of the List or Chart pages.

Syntax

pageObject.setTabWhere(id, where);

Arguments

id

the ID of the tab.

where

a WHERE clause for the tab.

Return value

true

if the WHERE clause was set successfully.

false

in all other cases.

Example

Set a WHERE clause to the tab:

 

pageObject.setTabWhere("anton", "CustomerID='ANTON'");

See also:

Additional WHERE tabs API: addTab

Additional WHERE tabs API: deleteTab

Additional WHERE tabs API: setTabTitle

Additional WHERE tabs API: setTabWhere

About Additional Where tabs API

SQLQuery Screen: Additional WHERE tabs

About RunnerPage class