Skip to Main Content
Students' Guide to Program Design
book

Students' Guide to Program Design

by Lesley Anne Robertson
May 2014
Intermediate to advanced content levelIntermediate to advanced
188 pages
7h 8m
English
Newnes
Content preview from Students' Guide to Program Design
Students' Guide to
Program
Design
9.4 Multiple-level control break
Algorithms to print reports which produce single-level control break
totals have already been covered. Often, however, reports are required
to include multiple-level control break totals. For instance, the Sales
Report produced in section 9.3 may require sales totals for each
salesperson in the company, and also, sales totals for each department
within the company
The Monthly Sales Report might then look like this:
MULTI-DISK COMPUTER COMPANY
12/05/89 SALES REPORT PAGE: 1
DEPT SALESPERSON SALESPERSON PRODUCT QTY PRICE EXTENSION
NUMBER NAME NUMBER SOLD AMOUNT
01 1001 MARY SMIT ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick

Publisher Resources

ISBN: 9781483141442