[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

On-Break Question



I haven't done it in awhile, but I have some older SQRs that I check the field
#Level and do things differently based upon the value.
For Example:
begin-procedure Company-Change
     if #level = 2
          new-page
      end-if
end-procedure

would mean it came from the Level 2 break.

Another colleague of mine handles it differently.   She sets a field (like
#break_Level = 2) in her Procedure.
For example:
begin-procedure Company-Change
     let #break_level = 2
end-procedure

And then in the other Procedure breaks, she checks the value in the
#Break_Level.  At the end of the breaks, she then resets the variable to zero.