Home > Products > UltraDev > Support > Building Common Applications
Dreamweaver UltraDev Icon Macromedia Dreamweaver UltraDev Support Center - Building Common Applications
Alerting the user when no records are found

This article describes how to alert the user when no results are returned by a database search. This may occur, for example, when the search parameter or parameters entered by the user do not match any value in the database. You can alert the user by modifying the results page so that, when no records are found, the results page shows a message telling the user that no results were found and hides the page elements normally used to display results.

This article assumes you have a functioning results page. For instructions on building one, see: Building a simple database search feature and Building a multiple-parameter search feature.

Here are the steps to complete to modify a results page to handle searches that return no records:

Hiding record-display elements
Showing a "no records found" message

29 January 2001

alert, database, display, found, hide, match, modify, no, not, parameter, record, result, return, search