• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Creating Recordset Navigation > Building filterParksSimple.cfm

Building filterParksSimple.cfm

You created the filterPark.cfm page in Chapter 8 to let users filter the records contained in the tblParks database table. In this chapter, you use a simplified version of filterParks.cfm, saved as filterParksSimple.cfm, which lets the user choose to view parks by region. To create this simpler page, follow these steps.

1.
Using the Site panel, select filterParks.cfm. Right-click on the file, and in the submenu that appears, select Duplicate. A file named Copy of filterParks.cfm appears.

2.
Rename Copy of filterParks.cfm to filterParksSimple.cfm, and open it.

3.
In the document window, delete the tables containing the menus for states and park type, so that the page looks like the one shown in Figure 9.2.

Figure 9.2. The filterParksSimple.cfm page contains only one menu, which allows users to filter the database results according to region.


4.
Select the FORM tag from the Common tab in the Insert Bar, and in its Property Inspector, enter filterResults.cfm, which you will create in the next section. Select GET in the Method menu.

5.
Save your work.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint