UBE, Level Break Footers, Multiple Triggers

Frosty the Coder

Legendary Poster
List:

I have a custom UBE (over F4211) that is sorted by
SDVR01 (po), SDDOCO (order#), and SDADDJ (actual ship date).

If any/all of these fields break, I want specific processing to
occur. This processing is the same regardless of which field
breaks.

I've found on the KG, that LBF can only be tied to a single trigger
field, and that for what I need, I have to set up 3 LBFs on that
section.

I did so as a test, and with the data I was testing, both DOCO
and ADDJ broke. This caused the LBF sections for both
fields to process. At end of report, I got LBF sections for
all 3 fields.

I tried, calling a custom section, from w/in the parent's
END BREAK SECTION er, but still saw 2 LBFs (on break)
and 3 LBFs (at end of report).

Is it possible to get the 3 LBFs to process 1 set of ER?
If so, how?

TIA

Gene Piekarski, Jr.



Gene Piekarski, Jr

AS/400, B733, SP11.2, NT client
 
Gene,
while i seriously doubt that you can have multiple sections executing the same set of code (although i certainly have been known to be wrong (some say on a regular basis)) i would suggest that you try creating a report variable to see if the code had been run before while this particular break is occurring. simply mark the variable (1 or 0/"yes" or "no") and then check this variable at the beginning of each break section to see whether it has run yet. if so, suppress section write.
you may want to have a report header execute at the end of each break section so you could reset the variable.
well, it's worth a shot in any case.
good luck,
dave


NT 4.0 SP5, SQL 7.0, One World B7321 SP12.4, Citrix 1.8 (XE soon)
 
Dave,

Help Desk suggested code along these lines, with each LBF testing the flag
and, if not yet processed, calling (another) custom section that has the
er.

I'm gearing up to try it now.

Thanks

Gene




got_to_love_jde
<got_to_love_jde@y To: [email protected]
ahoo.com> cc:
Sent by: Subject: Re: UBE, Level Break Footers, Multiple Triggers
owner-jdeowdevml@j
delist.com


02/28/01 01:15 PM
Please respond to
jdeowdev






Gene,
while i seriously doubt that you can have multiple sections executing
the same set of code (although i certainly have been known to be wrong
(some say on a regular basis)) i would suggest that you try creating a
report variable to see if the code had been run before while this
particular break is occurring. simply mark the variable (1 or 0/"yes" or
"no") and then check this variable at the beginning of each break section
to see whether it has run yet. if so, suppress section write.
you may want to have a report header execute at the end of each break
section so you could reset the variable.
well, it's worth a shot in any case.
good luck,
dave


NT 4.0 SP5, SQL 7.0, One World B7321 SP12.4, Citrix 1.8 (XE soon)
--------------------------
Visit the forum to view this thread at:
http://198.144.193.139/cgi-bin/wwwthreads/showflat.pl?Cat
=&Board=OWDEV&Number=6412
*************************************************************
This is the JDEList One World / XE Developers Mailing List.
Archives and information on how to SUBSCRIBE, and
UNSUBSCRIBE can be found at http://www.JDELIST.com
*************************************************************







Gene Piekarski, Jr

AS/400, B733, SP11.2, NT client
 
Back
Top