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

SET_INDEX( aNtxra[, nOrder ] )

Purpose

General purpose set-index function.

Arguments

     aNtxra -- array of index names

     nOrder -- if passed, order to set, else 1

Setup

Data file is in use and selected. Indexes must be available. Multi-user:
the file must already be locked.

Example

     PRIVATE _ntxra[ 2 ]
     _ntxra[ 1 ] = "ORDERS1"
     _ntxra[ 2 ] = "ORDERS2"
     SET_INDEX( _ntxra )

Returns

.T.

Side Effects

Sets the indexes and order. Crash on bad data or file not open.

Artful Calls

None.

Source File

AA_INDEX.PRG, AM_INDEX.PRG

See Also: DB_OPEN() CHK_DBF() CHK_NTX() CHK_DICT() IS_UNIQUE() SET_ORDER() GET_ORDER()

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