M make Member Jul 22, 2002 #1 hi, is there a chance to use the first-of function for more than one break- groups ? greets Make
C Crittar Member Jul 22, 2002 #2 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.
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.