first -of prob ?

Yes, for example:

for each table1 no-lock
break by table1.field1
by table1.field2
by table1.field3:

if first-of(table1.field1) then
do:
/* Your code */
end.

if first-of(table1.field2) then
do:
/* Your code */
end.

if first-of(table1.field3) then
do:
/* Your Code */
end.
end.

Hope this helps.
 
Back
Top