58.22 UPD_REPORT_FORMAT_MASK Procedure
The UPD_REPORT_FORMAT_MASK
procedure sets the report format mask user interface default. This user interface default is used by wizards when you select to create a report based upon the table and include the specified column. Report format mask is typically used to format numbers and dates.
Syntax
APEX_UI_DEFAULT_UPDATE.UPD_REPORT_FORMAT_MASK (
p_table_name IN VARCHAR2,
p_column_name IN VARCHAR2,
p_format_mask IN VARCHAR2 DEFAULT NULL );
Parameters
Parameter | Description |
---|---|
p_table_name |
Table name. |
p_column_name |
Column name. |
p_format_mask |
Format mask to be associated with the column whenever it is included in a report. |
Example
In the following example, when creating a Report against the EMP table, the default format mask on the HIREDATE column is set to 'DD-MON-YYYY'.
APEX_UI_DEFAULT_UPDATE.UPD_REPORT_FORMAT_MASK(
p_table_name => 'EMP',
p_column_name => 'HIREDATE',
p_format_mask=> 'DD-MON-YYYY');
Parent topic: APEX_UI_DEFAULT_UPDATE