Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-06

Using TFieldMap - Is there a replacement?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jack Linke

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?

BigChimp (not sure of his real name) suggested I pose this question to you all, since some of you maintain the fpc/lazarus documentation.

Thanks for any guidance you can provide,

- Jack

Reply by email

Michael Van Canneyt
to Jack Linke
Jack Linke wrote 8 lines
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.

Reply by email