Returns a TRUE value if the current iteration of a DO, FOR EACH, or REPEAT . . . BREAK block is the first iteration for a new break group, and modifies all three block types.
IF FIRST(location) THEN
DO:
// This code will be executed on the first record in the loop.
// Will only fire one time.
END.
IF FIRST-OF(location) THEN
DO:
// This code will be executed on the first record of each location.
// Therefore if there is 30 locations, then it will fire 30 times, on the first
// customer record for each location.
END.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.