Control break summaries in QTP
Rich `Lego-Man' Jesse - 7633
RJESSE@QTIWORLD.COM
Tue, 14 Sep 1999 12:39:58 -0500 (CDT)
Charlie Maloney replied to my post:
CH> Without analyzing your program in great detail...
CH>
CH> Here's the timing for output phase PROCESSING in QTP:
CH> (It's slightly different for output phase INITIALIZATION,
CH> never mind that for now)
CH>
CH>
CH> 1. "AT INITIAL"
CH>
CH> 2. "AT START OF" sortitems, major to minor
CH>
CH> 3. detail
CH>
CH> 4. "AT" sortitems, minor to major
CH>
CH> 5. "AT FINAL"
CH>
CH> Your OUTPUT ADD operation takes place at step 3, detail time.
CH> Your SUBTOTAL operation takes place at step 4, the END OF the THIRD SORT
CH> BREAK,
CH> which is AFTER the 'detail time'.
CH>
CH> The way the program is written, BIN_COUNT can never have the value of 1
CH> in the first record.
CH>
CH> While I haven't examined the program in detail,
CH> perhaps you could do your subtotal "AT START OF" your third sort break.
Hmmmm... the "AT START OF" option is a new one to me. Do you know if it's
available in 7.33.D3? QTP complains about it, and I can't find it in the
manual, except as an option for the COMMIT statement.
Rich
Rich Jesse Programmer/Analyst (/DBA/SysAdmin/etc.)
rjesse@qtiworld.com Quad/Tech International, Sussex, WI USA
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.