Difference between revisions of "ORDER()"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
 
Line 1: Line 1:
 
 
 
==Purpose==
 
==Purpose==
 
Function to return the currently selected master index number
 
Function to return the currently selected master index number
Line 31: Line 29:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital, Recital Server
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Indexing]]
 
[[Category:Indexing]]
 
[[Category:Indexing Functions]]
 
[[Category:Indexing Functions]]

Latest revision as of 17:27, 3 December 2009

Purpose

Function to return the currently selected master index number


Syntax

ORDER([<workarea | alias>])


See Also

CLOSE INDEX, FIND, IFILECOUNT(), INDEX, INDEXKEY(), KEY(), LOOKUP(), NDX(), REINDEX, RLOOKUP(), SEEK, SET CACHELOAD, SET DCACHE, SET ICACHE, SET INDEX, SET ORDER, SYS()


Description

The ORDER() function returns the currently selected master index number as specified with the SET ORDER TO command. If no index files are active, it returns -1.

If the workarea number or alias name <workarea | alias> is specified, then the function will operate in the required location.


Example

use patrons index name, event
? order()
         1
set order to 2
? order()
         2


Products

Recital, Recital Server