Page 1 of 1
TVirtualTable BUG
Posted: Mon 08 Jun 2009 20:37
by cabreujr
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'
Posted: Tue 09 Jun 2009 07:39
by Plash
We cannot reproduce the problem. Please specify your version of Delphi or C++Builder.
Posted: Tue 09 Jun 2009 20:41
by cabreujr
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.
Posted: Wed 10 Jun 2009 06:14
by tobias_cd
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?
Posted: Wed 10 Jun 2009 06:28
by Plash
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.
Posted: Wed 10 Jun 2009 21:54
by cabreujr
Yes, I did it. But the error persists.
Posted: Thu 11 Jun 2009 06:05
by Plash
Please check that your *.pas file contains the declaration for TIntegerField objects (inside declaration of the form class).
Posted: Tue 16 Jun 2009 23:54
by cabreujr
Yes the fields are declared.
Posted: Thu 18 Jun 2009 11:09
by Plash
Please specify whether the error occurs during compilation or when you run the application (press Ctrl+F9 and see if an error will occur).
Posted: Tue 23 Jun 2009 08:25
by Plash
We could not reproduce the problem. Please send to unidac*devart*com a complete small sample that demonstrates the problem.