
click to enlarge
Now you have to create a
Recordset that will let users locate an item in your bookstore. On the
Bindings tab click the plus (+) sign then
Recordset. Fill out the information on the R
ecordset window—name, (add rs to the front to distinguish these terms). For example, you might call this item rsSearchBook. Select
Connection name from the drop down list. MyStore should be there and once selected, the Books table should appear. Leave the default
All selected in the columns choice. Click
OK.
Using Dreamweaver’s Insert/Table layout a table that will display the results of a search. In this example there are columns for Author, Title, Publisher, Date and Price. These now have to be linked to the Fields in the database. Open the RecordSet panel as above. Use the plus sign to expand the Table links, and then Click and drag the data items from the RecordSet list to the appropriate column. Allowing for more than one item to be retrieved from a search is easy. On the same Bindings window and click on the Server Behavior. One of the items listed here is Repeat Region. Click and drag this to the item in the first column. The image captioned “My Book Store” represents the work to this point.