Thelma's Very Posh Pre-Owned Frocks

Sort display by

Item Price Date

xxx

£

This page is currently reading the version of the data file which includes data-type definitions. The first record (line) defines the field names, and for two fields (price and date) also defines their data types. When you sort the display by price or date, the records appear in the correct order (including Year 2000 compliance!)

Here's the contents of the current file:


Item,Price:Int,Date:Date DMY
A Versace dress,598,9/8/97
Versace Coat,1298,8/12/94
YSL suit,886,06/02/2001

Use data file with data-type field headers

Use data file without data-type field headers.

This page also shows how to change the data file associated with a data source object while the page is being displayed- see the function "swFiles()" for details.


Back to Menu