Macromedia dreamweaver 8-using dreamweaver User Manual
Using predefined data formats
723
To create a record counter for a page, you must first create a recordset for the page, an
appropriate page layout to contain the dynamic content, and a recordset navigation bar. To
learn more about creating these elements, and adding them to a page, see the following
sections:
appropriate page layout to contain the dynamic content, and a recordset navigation bar. To
learn more about creating these elements, and adding them to a page, see the following
sections:
■
■
■
■
Once you have the above elements in the page, you can create a record counter.
Simple record counters
You can create a simple record counter using the Recordset Navigation Status server object.
This server object inserts a complete record counter that you can apply text formatting to
using Dreamweaver page-design tools. To learn more about this record counter, see
This server object inserts a complete record counter that you can apply text formatting to
using Dreamweaver page-design tools. To learn more about this record counter, see
Custom record counters
You can use individual record count behaviors to create custom record counters. Creating a
custom record counter allows you to create a record counter beyond the simple, single row
table inserted by the Recordset Navigation Status server object. You can arrange design
elements in a number of creative ways, and apply an appropriate server behavior to each
element.
custom record counter allows you to create a record counter beyond the simple, single row
table inserted by the Recordset Navigation Status server object. You can arrange design
elements in a number of creative ways, and apply an appropriate server behavior to each
element.
The Record Count server behaviors are:
■
Display Starting Record Number
■
Display Ending Record Number
■
Display Total Records
leads you through the steps to create a record
counter by applying the individual Record Counter server behaviors to a page’s design
elements.
elements.
Using predefined data formats
Dreamweaver comes with several predefined data formats that you can apply to dynamic data
elements. The data format styles include date and time, currency, numerical, and
percentage formats.
elements. The data format styles include date and time, currency, numerical, and
percentage formats.