User Tools

Site Tools


api:dk11:delphi:gisinternals.convertdbfieldcp_tfield_integer

Table of Contents

ConvertDBFieldCP method

DK11 for Delphi | GisInternals.ConvertDBFieldCP | Enums | Fields | Methods | Types

Perform code page conversion (only if _source is String).

Syntax

// Delphi
function ConvertDBFieldCP(
  const _source : TField;
  const _sourceCP : Integer
) : Variant;
// C++ Builder
extern DELPHI_PACKAGE Variant* ConvertDBFieldCP(
  TField* const _source,
  const int _sourceCP
);

Parameters

Name Type Description
_source TField variant to be converted
_sourceCP Integer code page of source String (converted from)

Result

Type Description
Variant Converted DB Field.
2017/09/04 11:15