NOCASE (case insensitive report BREAK)

Top  Previous  Next

 

NOCASE

The NOCASE attribute (PROP:NOCASE) of a BREAK structure in a REPORT declaration makes the comparison for detecting a changed value (indicating a group break) insensitive to the ASCII upper/lower case sorting convention. All characters in the break field and the saved comparison value are converted to upper case before the comparison. This case conversion has no affect on the case of the stored data. The NOCASE attribute has no effect on non-alphabetic characters.

Example:

Report REPORT

       BREAK(BreakVariable),NOCASE  !Case insensitive group break

        HEADER

         STRING(@n4),USE(BreakVariable)

        END

Detail   DETAIL

         STRING(@n4),USE(SomeField)

        END

       END

      END

See Also:

BREAK