xHarbour Reference Documentation > Function Reference |
Retrieves the FOR expression of an index.
OrdFor( [<nOrder>|<cIndexName>][,<cIndexFile>] ) --> cForExpression
The function returns a character string holding the FOR condition of the specified index. If the index is created without FOR condition, or if no index is open an empty string ("") is returned. If no parameter is passed to OrdFor(), the function returns the FOR condition of the controlling index.
OrdFor() returns the FOR expression of an index as a character string. It is similar to OrdKey() which returns the index key expression.
See also: | DbOrderInfo(), INDEX, OrdCondSet(), OrdCreate(), OrdKey(), OrdName(), OrdNumber() |
Category: | Database functions , Index functions |
Source: | rdd\dbcmd.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com