Function OrdFor() Foundation
Returns the FOR condition of an index.
OrdFor( [<cTagName>|<nIndex>] ) --> cForExpression
The return value of OrdFor() is a character string containing the FOR condition used to create the index. If no FOR condition was specified when the index was created or no index file is open, the function returns a null string ("").
The index function OrdFor() is similar to OrdKey(), but returns the FOR condition used in creating the index instead of the index expression. If the function is called without the alias operator, it returns the FOR condition for an index in the current work area.
The ability to manage several indexes in a single index file depends on whether the active database engine (DBE) supports multiple indexes. If the current DBE does not support multiple indices, a recoverable runtime error occurs.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.