O'Reilly logo

Master Visually®: Dreamweaver® CS4 and Flash® CS4 Professional by Rob Huddleston

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 20. Work with Data-Driven Pages

Create a Search Interface

You can allow your users to search for records in your database by creating a form that allows users to enter their search criteria and a page to process the search by querying the database using the form's data. The search page is usually a fairly simple form, often nothing more than a single text field and a button.

The results page needs to contain a recordset. In the Recordset builder, you can add a filter. When Dreamweaver creates the SQL statement, the filter becomes the WHERE clause. You can specify where the value for the filter is coming from; in the case of forms, it is a Form Variable, with a name equal to the name from the form field. You can test to see if the form field's ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required