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_ORDER( cAlias, ncKey )

Purpose

Set the index order in a work area.

Arguments

     cAlias -- table in which index order is to be set

     ncKey -- if a string, the key to set; if a numeric, the index order to
              be set

Setup

This function uses the environment created by THE_USUAL() but can also
function without it.

Example

     _new_order = SET_ORDER( "CUSTOMER", "ACCOUNT_NO" )

Returns

Index order, or 0 if an index with the required key is not open.

Side Effects

Sets index order, may have to undo an optimised query.

Artful Calls

POP_MSG, SET_FILTER, STRINT

Source Files

AA_INDEX.PRG, AM_INDEX.PRG

See Also: DB_OPEN() CHK_DBF() CHK_NTX() CHK_DICT() SET_INDEX() GET_ORDER() SETORDER() DICTFIND()

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