BEGIN-DOCUMENT

Function

Begins a DOCUMENT paragraph. Document paragraphs allow you to write free-form text (for example, form letters and invoices).

Syntax

BEGIN-DOCUMENT position
.
.
.
END-DOCUMENT

Arguments

position

Location on the page where the document begins. Can be fixed or relative to the current position.

Description

Database columns, Production Reporting variables, and document markers can be referenced within documents. Their location determines where they are printed. Do not use tabs in document paragraphs. To indent text or fields, use the spacebar. If variables printed inside a document paragraph are variable in length, manipulate the variables outside the DOCUMENT paragraph.

Note:

Documents must be executed before referencing their document markers. Since documents can be printed at relative positions on the page, the location of document markers may not be known by Production Reporting until the document is executed.

Examples

begin-document (1,1)
  .b
  Dear $firstname
  ...
end-document

See Also