[Lazarus] Using TFieldMap - Is there a replacement?

Michael Van Canneyt michael at freepascal.org
Mon Jun 23 16:24:26 CEST 2014



On Mon, 23 Jun 2014, Jack Linke wrote:

> The Free Pascal docs say TFieldMap isn't used anymore, but it doesn't
> say why it's no longer used or what it has been replaced with
> (http://www.freepascal.org/docs-html/fcl/db/tfieldmap.html).

>
> Does anyone know? Is this an error, or is TFieldMap really no longer
> used? If so, what should be used instead, and is it a problem that
> LazDataDesktop still makes use of TFieldMap?

There are 2 objects called fieldmap. The one in the db.pas unit is indeed not used
(and never was in FPC).

This TFieldmap has nothing to do with the TFieldMap used in the lazarus data desktop.
The latter is implemented in a separate unit; It seems this unit is not checked in in 
Subversion, which I will correct soon. I will send you a version of this unit by private 
mail.

Michael.




More information about the Lazarus mailing list