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

Chapter 22. Adding Dynamic Data to Your ... > Passing Information Between Pages

22.7. Passing Information Between Pages

Every now and then, you'll want to pass a piece of information from one page to another. The Master Detail Page Set tool described in the previous section uses this concept: A link on the master page not only points to the detail page, but also passes along a unique ID used to create a filtered recordset on the detail page. In other words, the master page lists a bunch of records from a database. Each record not only links to the detail page, but also passes along its unique ID. The link might be something like adDetails?adID=7.

The information after the ? in the URL is a URL parameter, which the detail page uses to build a recordset. In this example, the detail page would find only one record—the one whose adID is 7—and display its details on the page. The key to the success of the master detail page set, then, is the ability to pass information to another page, and then use that information to filter a recordset (see page 639 for details on filtering database records).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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