Error when using TBDCfield

Error when using TBDCfield

Postby 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
softsmith
 
Posts: 19
Joined: Fri 27 Jan 2012 01:17

Postby 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.
AlexP
Devart Team
 
Posts: 5528
Joined: Tue 10 Aug 2010 11:35


Return to VirtualDAC