[Lazarus] TFMTBCDField problem

Chris Rempas crori49 at yahoo.com
Fri Oct 24 09:22:54 CEST 2014


Hi,  I downloaded trunk fpc but i can't get it to work, is there an easy way to get fpc 2.7.1 compiled for lazarus?
Thanks
Chris
 

     On Thursday, October 23, 2014 4:03 PM, Joost van der Sluis <joost at cnoc.nl> wrote:
   

 On 10/23/2014 01:07 AM, Chris Rempas wrote:
> Hi guys!
>      I am using SQLdb with Firebird 2. I have a DECIMAL(9,5) field that
> SQLdb makes it TFMTBCDField automatically. Mt problem is that i cannot
> save any value to the database. If i let the field with the NULL value,
> my record is saved fine, if i try to put any value and save the record,
> it fails with "Invalid Variant convertion" error.
>      I Edited the record with an external tool and it loads up fine in
> my grid. In my grid i can change the data and scroll to another records
> (cached data is fine) but if i try to execute ApplyUpdates, i get the
> same error.
>
>      Google could not help and i could not find anything in the
> bugtracker for the last 3 days!

If you are using fpc 2.6.4, could you try 2.7.1? (A development snapshot)?

Joost.



   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20141024/06260f99/attachment-0003.html>


More information about the Lazarus mailing list