User Guide

Table Of Contents
Creating reports with the ColdFusion MX 7 reporting 785
To use a database BLOB column as an image source:
1.
Click the Image icon in the toolbox.
2.
Define the area for the image by dragging on the desired band.
The Image File Name dialog box appears.
Tip: You can also drag the BLOB field from the Fields and Parameters tab to a report band.
3.
Click Cancel.
The Expression Builder appears.
4.
Click the Image Type drop-down list box and change File/URL to BLOB.
5.
Select the query field or input parameter that contains the BLOB column.
Note: The BLOB column must contain a binary image in GIF, JPEG, or PNG format.
6.
Click OK.
Note: These instructions assume that the contents of the BLOB column can be rendered as an
image.
To use rectangles, ellipses, and lines:
1.
Click the rectangle, ellipses, or line icon in the toolbox.
2.
Define the area or line by dragging on the desired band.
3.
(Optional) Resize the selected element by dragging the handles that surround it.
Tip: Pressing the Control key while resizing a rectangle, ellipsis, or line, constrains the element to a
square, circle, or angles that are multiples of 45 degrees.
To use dynamic fields:
1.
Click the Field icon in the toolbox.
2.
Define the area for the dynamic field by dragging on the desired band.
The Add Field dialog box appears (if you havent defined any query fields, the Expression
Builder appears).
3.
Select the field to add. If you select a query field, calculated field, or input parameter, this is the
same as dragging from the Fields and Parameters tab.
4.
(Optional) Select Manually Entered Expression.
The Expression Builder appears. This option is useful for calculations that use variables in the
same row. For example, to compute total price for an order detail line item, you might use the
following expression:
LSNumberFormat((query.unitprice * query.quantity), ",_.__")
5.
Click OK.