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

Re: ON-BREAK Question



On Wed, Jul 12, 2000 at 10:39:04AM -0400, Wanko, Christopher G, CFCTR wrote:
> Just create a variable $broken and move the procedure name to it if it isn't
> null.
> Make sure when you process the final break, you reset the variable to null.

Unfortunately, this doesn't do everything you want if you are looking
for this information in "after" procedures -- since the procedures are
executed in decending order, each individual procedure has no way to
know whether or not a lower-numbered break level actually triggered the
break.  In cases where you need to know this information (for example,
when you want to page break between breaks at any level, but only one
page break "in a row"), then you end up having to set a flag to be
examined outside of all "after" procedures (e.g. within the
"before" procedures for all of the break levels) to deal with this
situation.

I, too, would like to see something like a #break-level reserved variable
for use these situations....

                                                Nathan

----------------------------------------------------------------------------
Nathan Stratton Treadway  | Ray Ontko & Co. | Software consulting services
nathant@ontko.com         | Richmond, IN    | http://www.ontko.com/