LAST-OF( ) method
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Returns TRUE if the current iteration of the query predicate FOR EACH . . . BREAK BY. . . is the last iteration for a new break group.
Return type: LOGICAL
Applies to: Query object handle
Syntax
|
- level
- An integer expression that indicates a BREAK BY group, where 0 is the entire query, 1 is the first BREAK BY, 2 is the second BREAK BY, and so on.
The following example shows how the LAST-OF( ) method is used to identify the last record of a break group:
|
See also
FIRST-OF( ) method, OPEN QUERY statement, QUERY-PREPARE( ) method