User Tools

Site Tools


api:dk11:delphi:gisinternals.convertadofieldcp_field_integer

Table of Contents

ConvertADOFieldCP method

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

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

Syntax

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

Parameters

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

Result

Type Description
Variant Converted ADO Field.

Remarks

Function will also perform a type casting for types unsupported by variant type.

2019/02/08 01:13