Adobe FRAMEMAKER 6.0 Manual page 250

Mif reference
Table of Contents

Advertisement

Creating several tables
The previous example illustrates how to use a database to create one table instance. Both the Tbls and the
TextFlow statements are written to a single text file. This approach, however, is limited to this simple case.
If the document contains several tables, it may be more convenient to use the database to write the Tbls
statement to a separate file and then use a MIF include statement to read the file into a FrameMaker
product.
For example, suppose you need to publish a parts catalog. Each part has a name, a description, and a table
that gives pricing information. A typical record looks like this:
Water
Sewer
Gas
In the database, all the information about each part is associated with its record. Due to the structure of
MIF, however, the information must appear in different portions of the MIF file: the part name and
description belong in the TextFlow statement, while the table belongs in the Tbls statement. To accomplish
this, you can make the following modifications to the design of the database procedure shown in the
previous example.
At the beginning of the procedure, create two text files—one for the main MIF file that will contain the
MIF file identification line and the main text flow and the other for the Tbls statement.
Use a second include statement to read in the Tbls statement
As your procedure passes through each record, write the data that belongs in
the TextFlow statement in the main text file and write the table data to the
Tbls file.
ADOBE FRAMEMAKER 6.0
250
Examples

Advertisement

Table of Contents
loading

Table of Contents