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