Microsoft KB Archive/62932

Works: Inserting Custom Page Breaks in a Report

PSS ID Number: Q62932 Article last modified on 10-16-1998

1.00 1.05 2.00 3.00

MS-DOS

=
========================================================= 1.00 1.05 2.00 3.00 MS-DOS kbprint

= SUMMARY =

To insert custom page breaks, in the Works Database module, follow the appropriate procedure below.

NOTE: These page breaks will occur at the same location for every record in the database.

Works Version 2.0 or 3.0
To insert custom page breaks in a report, copy it to the Word Processor module:


 * 1) Select the contents of the report definition screen.
 * 2) From the Edit menu, choose Copy.
 * 3) To complete the copying operation, place the insertion point in a new Word Processor document and press the ENTER key.

Works Version 1.0 or 1.05
To insert custom page breaks in the report, print the report to a file and insert the desired page breaks using the Word Processor module. To print a report to a file, do the following:

  In the database document, choose New from the Report menu. You can customize the layout of the report by adding extra lines or break fields. Do not change the font or style. (Bold formatting will cause words to print twice when you print the report to a file.)   From the Print menu, choose Select Text Printer. Select TTY for the printer.   From the Print menu, choose Layout, and clear the header and footer information fields. Use the following settings: Top margin: 0 inches Page length: 11 inches Bottom margin: 0 inches Page width: 8.5 inches Left margin: 0 inches Right margin: 0 inches 1st Page number: 1 Header margin: 0 inches Footer margin: 0 inches   From the Report view, print to a file. This creates a text file containing the output normally sent to the printer (for more information about printing to a file, see page 311 in the version 1.0 “Microsoft Works Reference”).   Open the print file in Works as a Word Processor file. If the lines of the report are too long to show on one line in the Word Processor document, change the left and right margins to 0 inches. From the Print menu, choose Insert Page Break to insert page breaks. At this point, you can change the font or add formatting such as bold or italic.   While in the Word Processor, print the text file to the printer. 

= MORE INFORMATION =

Page breaks inserted on the Intro Report, Intro Page, and Sum Report (in Works 3.0 these reports are called Title, Headings, and Summary, respectively) lines may produce undesirable results. For example:

A Page Break on This Line Will Cause ————————- ———-

Intro Report Blank page at beginning of report (Title in Works 3.0)

Intro Page Blank page between each page of report (Headings in Works 3.0)

Sum Report Blank page at end of report (Summary in Works 3.0)

Inserting a page break on the Record line causes each record in the report to appear on a separate page. A page break on a Sum Field line causes each group of records formed by the sort to appear on a separate page.

For more information on inserting page breaks, see page 231 of the version 2.0 “Microsoft Works Reference,” or page 368 of the version 3.0 “Microsoft Works User’s Guide.”

KBCategory: kbprint KBSubcategory: dworkskb

= Additional reference words: 1.00 1.05 2.00 3.00 =

Version : 1.00 1.05 2.00 3.00 Platform : MS-DOS ============================================================================= Copyright Microsoft Corporation 1998.