Adobe FRAMEMAKER 10 User Manual page 236

Hide thumbs Also See for FRAMEMAKER 10:
Table of Contents

Advertisement

When the sales representative clicks Publish, a database procedure scans the database, retrieves the requested infor-
mation, and writes a MIF file that contains all of the information in a fully formatted document. The final document
looks like this:
The data from the database is published as a FrameMaker table. The database procedure makes one pass through the
records in the database and writes the contents of each record in a row of the table. The procedure then creates a
statement that contains the text that appears above the table and creates an
TextFlow
table instance.
You can set up a report generator like the previous example by following these general steps:
Create the template for the final report in FrameMaker. Design the master pages and body pages for the
1
document and create paragraph and character formats. You can include graphics (such as a company logo) on the
master page.
Create a table format for the report. Specify the table position, column format, shading, and title format. Store
2
the format in the Table Catalog.
3
When the document has the appearance you want, save it as a MIF file.
Edit the MIF file to create a MIF template that you can include in your generated MIF file (see
4
template files" on page
44). The MIF template used for this example is in the sample file
Use your database to create any custom dialog boxes or report-generating procedures.
5
6
Create a database query, or procedure, that extracts data from the database and writes it out into a MIF file. Use
a MIF
statement to include the document template in the new document.
include
The database user can now open a fully formatted report.
ADOBE FRAMEMAKER 10
MIF Reference
statement to refer to the
ATbl
"Including
.
coffee.mif
231

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents