DbiGetNumberFormat

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

DbiGetNumberFormat

Return to chapter overview

C syntax

DBIResult DBIFN DbiGetNumberFormat (pfmtNumber);

Delphi syntax

function DbiGetNumberFormat (var fmtNumber: FMTNumber): DBIResult stdcall;

Description

DbiGetNumberFormat returns the number format for the current session.

Parameters

pfmtNumber                Type: pFMTNumber                (Output)
Pointer to the client-allocated FMTNumber structure.

Usage

The number format is used by QBE for input and wildcard character matching. It is also used by batch operations (such as DbiDoRestructure and DbiBatchMove) to handle data type coercion between character and numeric types.

DbiResult

Meaning

DBIERR_NONE

The number format was successfully retrieved.

DBIERR_INVALIDHNDL

pfmtNumber is NULL.

See also

DbiGetDateFormat, DbiGetTimeFormat, DbiSetNumberFormat