TVirtualTable BUG

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
cabreujr
Posts: 4
Joined: Mon 08 Jun 2009 20:20

TVirtualTable BUG

Post by cabreujr » Mon 08 Jun 2009 20:37

In UniDAC 2.7 I'm having a problem adding data toa virtual table in design time. After this procedure I can't compile anymore. The error message is: Project XXX raised exception class EclassNotFound with message 'Class TintegerField not found'

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 09 Jun 2009 07:39

We cannot reproduce the problem. Please specify your version of Delphi or C++Builder.

cabreujr
Posts: 4
Joined: Mon 08 Jun 2009 20:20

Post by cabreujr » Tue 09 Jun 2009 20:41

I'm using BDS 2007 and with UNidac 2.5 version I had the same problem. Reproduce its simple: create fields in design time and add data in design time too. When I try to compile, it's not possible cause the error.

tobias_cd
Posts: 56
Joined: Thu 18 Dec 2008 22:10

Post by tobias_cd » Wed 10 Jun 2009 06:14

cabreujr wrote:I'm using BDS 2007 and with UNidac 2.5 version I had the same problem. Reproduce its simple: create fields in design time and add data in design time too. When I try to compile, it's not possible cause the error.
Have you added "DB" in your uses clause?

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Wed 10 Jun 2009 06:28

There is a known problem with VirtualTable. If you create fields at design-time, and then add data, fields are dropped from the *.pas file. You should recreate fields after you add data to avoid the problem.

cabreujr
Posts: 4
Joined: Mon 08 Jun 2009 20:20

Post by cabreujr » Wed 10 Jun 2009 21:54

Yes, I did it. But the error persists.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 11 Jun 2009 06:05

Please check that your *.pas file contains the declaration for TIntegerField objects (inside declaration of the form class).

cabreujr
Posts: 4
Joined: Mon 08 Jun 2009 20:20

Post by cabreujr » Tue 16 Jun 2009 23:54

Yes the fields are declared.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 18 Jun 2009 11:09

Please specify whether the error occurs during compilation or when you run the application (press Ctrl+F9 and see if an error will occur).

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 23 Jun 2009 08:25

We could not reproduce the problem. Please send to unidac*devart*com a complete small sample that demonstrates the problem.

Post Reply