Working with header and footer rows in tables
To change a row to a header, body, or footer row
After you insert a table, you can
change a row to another type. For example, you can change a body
row to a header row to set up a table inside a table. Also, you can
change a body row to a footer row to show summaries in the last
row that you want to appear on each page in the form.
Select a row. See To select a table, row, column, cell, or section.
In the Object palette, click the Row tab and select an item
from the Type list.
To control table, header row, body row, footer row, and section breaks using conditional statements
Designer provides the capability to create
customized conditional breaks for table objects as well as for header
rows, body rows, footer rows, and sections. Instead of paginating
these objects in response to data overflow, conditional breaks allow
you to manually control how these objects break on a form based on
a series of checks called conditional statements.
Through conditional statements, you can verify data for a field
within a table, header row, body row, footer row, or section against
previous instances of that field. The table, header row, body row,
footer row, or section can then be broken in response to a change
in the data supplied to the field.
For example, on a telephone bill, you could break a table object
in response to changes in the field that stores the date of each
billing entry. The telephone bill could then be visually broken
down by date, making it easier for a user to read.
In addition to specifying a breaking condition, you can also
specify leader and trailer subforms, and indicate where to place
the next instance of the repeating subform on the form.
Before you perform this task, you must ensure that the table
is in a subform that is set to Flowed.
Select a table, header row, body row, footer row, or
section. See To select a table, row, column, cell, or section.
In the Object palette, click the Pagination tab.
Click the Edit button and then click the Add button to insert
a new conditional break list item.
Select a scripting language from the Language list. The conditional
break condition statement is created by using the scripting language
In the Run At list, select where you want the conditional
break to execute.
Click Insert Sample Expression and
select the form design object within the table, header row, body
row, footer row, or section to use as the comparison field for the
conditional break. Alternatively, you can enter your own conditional
statement in the field. To correctly evaluate as a conditional break, however,
any user-defined conditional statements must evaluate to either true
Select when you would like the table, header row, body row,
footer row, or section to break by selecting either Before or After.
Selecting Before inserts a break immediately before the current
instance of the table, header row, body row, footer row, or section
is inserted into the form, and selecting After inserts the break
In the To field, select where you want to place the remaining
occurrences of the table, header row, body row, footer row, or section.
In the Trailer and Leader lists, select trailer and leader
subforms to use for the current conditional break, if any.
Repeat steps 2 to 9 for each conditional break you want to
include for the selected object, and click OK when you have finished
adding entries to the list.
After you create all of your conditional
break entries, you should review the order in which they appear
in the Edit Conditional Breaks dialog box. Designer processes the
conditional breaks specified in this dialog box in sequential order
from top to bottom. Each conditional break for which the conditional statement
evaluates to true is executed.
Use the Up and
to move individual conditional break list entries into the order