MACROMEDIA DREAMWEAVER MX 2004-USING DREAMWEAVER Use Manual page 558

Hide thumbs Also See for DREAMWEAVER MX 2004-USING DREAMWEAVER:
Table of Contents

Advertisement

After you have added a recordset to a page, and have created a navigation bar, you must apply
individual server behaviors to each navigation element. For example, a typical recordset
navigation bar contains representations of the following links matched to the appropriate
behavior:
Navigation link
Go to first page
Go to previous page
Go to next page
Go to last page
Related topics
"Displaying multiple recordset results" on page 558
Displaying and hiding regions based on recordset results
Dreamweaver includes a set of server behaviors that let you show or hide a region based on the
results returned by a recordset. For example, in a page using "Previous" and "Next" record links to
navigate a results page, you can specify that the "Previous" records link be shown on all results
pages except the first (which has no previous results), and that the "Next" records link be shown
on all pages except the last (which has no next results).
You can also specify that a region be displayed or hidden based on whether the recordset is empty
or not. If a recordset is empty (for example, no records were found matching the query), you can
display a message informing the user that no records were returned. This is especially useful when
creating search pages that rely on user input search terms to run queries against. Similarly, you can
display an error message if there is a problem connecting to a database, or if a user's user name and
password do not match those recognized by the server.
The Show Region server behaviors are:
Show If Recordset Is Empty
Show If Recordset Is Not Empty
Show If First Page
Show If Not First Page
Show If Last Page
Show If Not Last Page
To learn how to apply the Show Region server behaviors, see
on recordset results" on page
Displaying multiple recordset results
The Repeat Region server behavior lets you display multiple records from a recordset within a
page. Any dynamic data selection can be turned into a repeated region. However, the most
common regions are a table, a table row, or a series of table rows.
558
Chapter 35: Displaying Database Records
Server behavior
Move to first page
Move to previous page
Move to next page
Move to last page
566.
"Showing and hiding regions based

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-USING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents