Function OrdIsCandidate() Foundation
Checks if an order is an candidate order
OrdIsCandidate([<cTagName>|<nIndex>]) -> lCandidate
The return value is .T. (true) when the order is created as a candidate order, otherwise it is .F. (false). If no index file is open, the function returns F. (false). If no value is specified for <nIndex> or <cTagName> , the state of the controlling index is returned.
The function OrdIsCandidate() is used to check if an index is created with the CANDIDATE option of the INDEX command. Candidate indexes are true unique orders, in such a way that any violation on the unique constraint (candidate) raises an runtime error.
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.