Harbour Reference Guide

 

INDEXORD()

Returns the numeric position of the controlling index.

Syntax

INDEXORD() --> <nPosition>

Arguments

None.

Returns

<nPosition> Ordinal position of a controling index

Description

The INDEXORD() function returns the numeric position of the current controlling index in the selected or designated work area. A returned value of 0 indicated that no active index is controlling the database,which therefore is in the natural order.
Examples
      USE TESTS NEW INDEX TEST1
      IF INDEXORD()>0
          ? "Current order is ",INDEXORD()
      Endif
Status

Ready

Compliance

This function is Ca-Clipper compliant

Platforms

All

Files

Library is rdd

See Also

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30