A script-enabled browser is required for this page to function properly.

DDE.GETFORMATSTR built-in function

This function translates a data format number into a format name string.

Syntax

DDE.GETFORMATSTR (formatnum)

Parameter

Type

Description

formatnum
PLS_INTEGER

Data format number.

Returns

CHAR

Usage notes

This function returns the string representation of the data format number that is a CHAR.

This function returns a data format name if the data format number is valid. Valid format numbers include Microsoft Windows predefined data formats and any user-defined formats that were registered with DDE.GETFORMATNUM.

Example


DECLARE
FormatStr CHAR(20);
BEGIN
/* Get a data format name
(should return the string 'CF_TEXT') */
FormatStr := DDE.GETFORMATSTR(CF_TEXT);
END;

See also

About the DDE built-in package

DDE built-in package

DDE built-in exceptions