Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

FILTR_TYPE()

Purpose

Determine the type of the currently set filter, if any.

Arguments

     cAlias -- if passed, alias to enquire about, else current area.

Setup

QUERY() maintains a public array aafilter, which contains one element
for each active alias. If an optimised query is in effect for an alias, its
aafilter element contains the query. Otherwise its matching element
contains a null string. If you will not be maintaining the database from
within THE_USUAL, you will have to call the function INIT_QUERY before
calling this function.

Example

     CHK_DICT( "AAI_DICT" )
     INIT_QUERY()
     ? FILTR_TYPE( "CUSTOMER" )           && Returns 0

Returns

1 if an optimised query has been set on cAlias, otherwise 0
(indicating a conventional or no filter).

Side Effects

Crash if INIT_QUERY not called first to verify the existence of the
aafilter array.

Artful Calls

IS_OPEN

Source Files

AA_FILTR.PRG, AM_FILTR.PRG

See Also: QUERY() SET_FILTER() GET_FILTER() THE_USUAL()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson