Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us

Implements a virtual procedure to copy a data string from a source to a destination, optionally performing character translation during the copy.

function Translate(Src, Dest: PChar; ToOem: Boolean): Integer; virtual;

As implemented by TDataSet, Translate copies a source string to a destination string, and ignores the value passed in ToOem. Translate provides a fallback method for derived dataset objects that do not reimplement Translate.

In some descendant classes, Translate converts the source string from ANSI (the native character mapping for the VCL) to OEM (the native character mapping for the BDE) when ToOem is True, and reverses that translation when ToOem is False.
        © 2003 - 2020 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Aug 08, 2020