Column.setDataFormat

Overview | Methods | This Package | All Packages

Column.setDataFormat

Sets the format of the column's data.

Syntax

public void setDataFormat( IDataFormat value )

Parameters

value

An object implementing the IDataFormat interface that specifies the format of the data in the column.

Remarks

The dataFormat property affects how the data is displayed in the grid column; it does not affect how the data is stored in the underlying recordset. You can specify a format for the following types of data values:

Data type IDataFormat object
boolean BooleanDataFormat
date or time DateDataFormat
numerical NumberDataFormat

For information about setting the dataFormat property in the Properties window, see Formatting Data.

See Also   getDataFormat