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

POP_QUERY( _array )

Purpose

Restore a query state from an array filled by PUSH_QUERY().

Arguments

     _array -- 8-element array

Setup

_array[] must have eight elements, and PUSH_QUERY[]
must have been called to fill 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 ] = contents of aafilter[ SELECT() ]
     _array[ 7 ] = contents of aafiltrkey[ SELECT() ]
     _array[ 8 ] = contents of 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

Restores index order, record number and any query specified in _array[].

Artful Calls

GET_ORDER, FILTR_TYPE.

Source File

AA_QUTIL.PRG

See Also: PUSH_QUERY()

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