Error when using TBDCfield

Discussion of open issues, suggestions and bugs regarding Virtual Data Access Components for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
softsmith
Posts: 19
Joined: Fri 27 Jan 2012 01:17

Error when using TBDCfield

Post by softsmith » Wed 28 Mar 2012 01:22

Delphi XE2 sp4
Version of Virtualtable with IBDAC 4.1.5

When I add a virtualtable, and use the assign dataset option from a dataset that includes a TBCDfield, I get the following error message
D:\projects\delphi\dac\common\source\virtualtable.pas, line 1993 Unknown datatype Field.datatype = 27

If I manually set up a BCD field, then when I try to use the field in my program I get an error message Edtatabse error. vtPayment: Size mismatch for field PMAMT. Expecting 4 Actual 0

the settings for the IBConnection component are EnableBCD = true and EnablefmtBCD = true

Hope you can advise how I can fixe the problem. Unfortunately, I do not have the source code, otherwise I may have been able to supply more information

Thanks for your help
Colin

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Wed 28 Mar 2012 08:09

Hello,

Thank you for the information, we have reproduced and fixed the problem.
This fix will be included in the next product version.

Post Reply