Description
Applies a specified format to data. In addition, Format can return converted data rows. The return value is the formatted row. If errors are encountered in formatting or converting data, an error and a null row are returned instead.
Syntax
Formattedrow = Format (indatalist, formatinfolist, conversionlist)
Parameters
The Format function has the following parameters.
Parameter | Description |
---|---|
Indatalist | The data to format. If a list, then each item in the list must have a corresponding entry in formatinfolist. |
Formatinfolist | Specifies the formatting to apply to indatalist. If indatalist contains a list of data to format, each item in the list must have a corresponding entry in formatinfolist. |
Conversionlist | If data is stored in internal format, date or time for example, you can specify an output conversion to be applied to the data before it is returned to the front-end. If indatalist and formatinfolist contain lists, each item can have a corresponding entry in conversionlist. |