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

PUSH_QUERY( _array )

Purpose

Save a query state to an array, and undo it.

Arguments

     _array -- 8-element array

Setup

_array[] must have eight elements. PUSH_QUERY[] fills
them:

     _array[ 1 ] = work area returned by SELECT()

     _array[ 2 ] = index order

     _array[ 3 ] = record number

     _array[ 4 ] = current filter expression

     _array[ 5 ] = FILTR_TYPE(), 0 or 1

     _array[ 6 ] = aafilter[ SELECT() ]

     _array[ 7 ] = aafiltrkey[ SELECT() ]

     _array[ 8 ] = aafiltrnam[ SELECT() ]

If PUSH/POP_QUERY() are called from outside THE_USUAL(), the last three
array elements are ignored.

Example

     LOCAL _ra[ 8 ]
     PUSH_QUERY( _ra )
     ... some code that needed the query off ...
     POP_QUERY( _ra )

Returns

.T.

Side Effects

Turns off any existing query.

Artful Calls

GET_ORDER, FILTR_TYPE.

Source File

AA_QUTIL.PRG

See Also: POP_QUERY()

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