Macromedia dreamweaver 8-using dreamweaver User Manual
722
Chapter 35: Displaying Database Records
The following example illustrates how the Repeat Region server behavior is applied to a table
row, and specifies that nine records are displayed per page. The row itself displays four
different records: city, state, street address, and zip code.
row, and specifies that nine records are displayed per page. The row itself displays four
different records: city, state, street address, and zip code.
To create a table such as the one shown above, you must create a table containing dynamic
content, and apply the Repeat Region server behavior to the table row containing the
dynamic content. When the page is processed by the application server, the row is repeated
the number of times specified in the Repeat Region server object, with a different record
inserted in each new row.
content, and apply the Repeat Region server behavior to the table row containing the
dynamic content. When the page is processed by the application server, the row is repeated
the number of times specified in the Repeat Region server object, with a different record
inserted in each new row.
To learn how to apply the Repeat Region server behavior, see
Record counters
Record counters give users a reference point when they are navigating through a set of records.
Typically, record counters display the total number of records returned, and the current
records being viewed. For example, if a recordset returns 40 individual records, and 8 records
are displayed per page, the record counter on the first page would indicate “Displaying records
1-8 of 40.”
Typically, record counters display the total number of records returned, and the current
records being viewed. For example, if a recordset returns 40 individual records, and 8 records
are displayed per page, the record counter on the first page would indicate “Displaying records
1-8 of 40.”