FIND-UNIQUE( ) method
Gets a single record. This method lets a user get a unique record that satisfies the predicate expression.
Return type: LOGICAL
Applies to: Buffer object handle
predicate-expression
lockmode
waitmode
The following shows some examples of the FIND-UNIQUE method:
If FIND-UNIQUE succeeds, it returns TRUE, otherwise it returns FALSE.
If FIND-UNIQUE fails, a message displays. You can suppress this message using NO-ERROR on the statement containing the method.
If more than one record satisfies the predicate expression, then the AMBIGUOUS attribute is set to TRUE.
See also: FIND-FIRST( ) method, FIND-CURRENT( ) method, FIND-LAST( ) method, FIND statement
OpenEdge Release 10.2B
|