Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 1032

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Working with Documents, Charts, and Reports
4
Specify a
expression for each element. For example, you could specify the following expression to
PrintWhen
display one element when shippeddate is later than requireddate (that is, late) and another element when
shippeddate is earlier than requireddate:
query.shippeddate LTE query.requireddate
First element
query.shippeddate GT query.requireddate
Second element
5
Specify different display characteristics for each element. For example, if an order is late, display it in red text.
Set the Top, Left, Height, and Width properties to the same values for each element.
6
When you specify identical placement properties, you access the individual elements through the Layered Controls
menu.
Use the Layered Controls menu
1
Right-click on the top element.
Select Layered Controls > elementname from the pop-up menu. The Report Builder identifies each layered element
2
by displaying its
PrintWhen
Select the element and choose Window > Properties Inspector to view the element properties.
3
Using links
You can include hypertext links from query fields, calculated fields, input parameters, charts, and images to a variety
of destinations:
• An anchor or page within the same report
• An anchor or page within another report
• An HTML page, optionally specifying an anchor and URL parameters
One use for links is to create drill-down reports, in which you click an item to display detailed information. For
example, clicking an employee line item passes the employee ID as a parameter to a page that displays complete
information for the employee.
For complete usage information on creating anchors and hypertext links, see the Report Builder online Help.
Defining properties for report elements
A set of properties defines every element on a report, including the report itself. These properties affect the look, feel,
and behavior of each element.
For many properties, the Report Builder lets you define their values through user interface elements, such as dialog
boxes, toolbar icons, and menu items. For example, you set a text label's font size using a toolbar icon. You can set
values for all properties, however, through the Properties panel, which display all properties for the currently selected
element.
Sometimes a report contains multiple, closely spaced elements and it is difficult to select an individual element using
the mouse. In this case, selecting the element from the Properties panel pop-up menu is an easy way to select an
element.
The Properties panel has two views:
All properties for the currently selected element display in alphabetical order.
Sort alphabetically
The Properties panel displays related properties in the following predefined groups:
Sort into groups
• Advanced
expression.
Last updated 1/20/2012
1027

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents