DbiSetNumberFormat

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

DbiSetNumberFormat

Return to chapter overview

C syntax

DBIResult DBIFN DbiSetNumberFormat (pfmtNumber);

Delphi syntax

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

Description

DbiSetNumberFormat sets the number format for the current session.

Parameters

pfmtNumber                Type: pFMTNumber                (Input)
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 set successfully.

DBIERR_INVALIDHNDL

The pointer to the number format structure is NULL.

DBIERR_INVALIDPARAM

Data within the number format structure is invalid.

See also

DbiGetNumberFormat