Writing queries using an editor
423
The Simple Recordset dialog box appears:
4
Complete the dialog box.
5
Click the Test button to execute the query and ensure that it retrieves the information you
intended.
If you defined a filter that uses parameters input by users, the Test button displays the Test
Value dialog box. Enter a value in the Test Value text box and click OK. If an instance of the
record set is successfully created, a table displaying the data from your record set appears.
6
Click OK to add the record set to the list of available content sources in the Data bindings panel.
If you prefer to write your own SQL statements, or need to create more complex queries then the
Simple Recordset dialog box allows, you can define record sets using the Advanced Recordset
dialog box
Creating an advanced record set by writing SQL :
1
In the Dreamweaver MX Document window, open the page that will use the record set.
2
Choose
Windows > Data Bindings
to display the Data Bindings panel.
3
In the Data Bindings panel, click the Plus (+) button and select Recordset (Query) from the
pop-up menu.
If the Simple Recordset dialog box appears, switch to the Advanced Recordset dialog box by
clicking the Advanced button.
Summary of Contents for COLDFUSION MX 61-DEVELOPING COLDFUSION MX
Page 1: ...Developing ColdFusion MX Applications...
Page 22: ...22 Contents...
Page 38: ......
Page 52: ...52 Chapter 2 Elements of CFML...
Page 162: ......
Page 218: ...218 Chapter 10 Writing and Calling User Defined Functions...
Page 250: ...250 Chapter 11 Building and Using ColdFusion Components...
Page 264: ...264 Chapter 12 Building Custom CFXAPI Tags...
Page 266: ......
Page 314: ...314 Chapter 14 Handling Errors...
Page 344: ...344 Chapter 15 Using Persistent Data and Locking...
Page 349: ...About user security 349...
Page 357: ...Security scenarios 357...
Page 370: ...370 Chapter 16 Securing Applications...
Page 388: ...388 Chapter 17 Developing Globalized Applications...
Page 408: ...408 Chapter 18 Debugging and Troubleshooting Applications...
Page 410: ......
Page 426: ...426 Chapter 19 Introduction to Databases and SQL...
Page 476: ...476 Chapter 22 Using Query of Queries...
Page 534: ...534 Chapter 24 Building a Search Interface...
Page 556: ...556 Chapter 25 Using Verity Search Expressions...
Page 558: ......
Page 582: ...582 Chapter 26 Retrieving and Formatting Data...
Page 668: ......
Page 734: ...734 Chapter 32 Using Web Services...
Page 760: ...760 Chapter 33 Integrating J2EE and Java Elements in CFML Applications...
Page 786: ...786 Chapter 34 Integrating COM and CORBA Objects in CFML Applications...
Page 788: ......