(Optional) Specify sort order by doing the following:
4.
Locate the column in the Properties panel.
a.
Click in the Sort Type cell of the column you want to sort by.
b.
Specify Ascending or Descending.
c.
(Optional) If you specify multiple sort columns, you specify precedence using the Sort
d.
Order cell.
(Optional) Specify selection criteria by doing the following:
5.
Locate the column in the Properties panel.
a.
Click in the Condition cell.
b.
Select WHERE.
c.
Specify WHERE clause criteria in the Criteria cell.
d.
If you specify selection criteria, the Query Builder creates a WHERE clause. To
use an INNER JOIN or other advanced selection criteria instead, you must code
the SQL manually.
(Optional) To specify an aggregate function, GROUP BY, or an expression:
6.
Locate the column in the Properties panel.
a.
Click in the Condition cell.
b.
Select Group By or the aggregate function (such as COUNT).
c.
(Optional) To specify SQL manually, type the SQL statement in the SQL pane.
7.
You code SQL manually to use an INNER JOIN instead of a WHERE clause, use an
OUTER JOIN, or use a database stored procedure.
(Optional) To specify the data type of a query parameter:
8.
Click the + button under Parameters.
a.
Enter the name of the parameter.
b.
Select the data type.
c.
Review the SELECT statement that displays in the SQL pane, and use the Table and
9.
Properties panes to make adjustments, if necessary.
(Optional) Click Test Query.
10.
Click Save.
11.
80
Using the ColdFusion Extensions for Flex Builder
Need help?
Do you have a question about the COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 and is the answer not in the manual?