Page 1 of 1
Exception class EClassNotFound with message 'Class TSmallint
Posted: Sat 30 Oct 2010 21:25
by halenpolen
I found a bug in Virtualtable
I make 2 Column :
object TSmallintField
FieldName = 'VirtualTable1Field1'
end
object TStringField
FieldName = 'VirtualTable1Field2'
end
When I Run, It show-> Exception class EClassNotFound with message 'Class TSmallintField not found'.
Re: Exception class EClassNotFound with message 'Class TSmallint
Posted: Mon 01 Nov 2010 06:34
by halenpolen
I'm using delphi 2007 and UniDAC 3.50.0.12 for Delphi
Posted: Mon 01 Nov 2010 14:46
by AlexP
Hello,
If you added fields in the *.dfm file manually, then it is incorrect syntax.
Please create fields in design time and save this form. You will be able to see correct fields descriptions in the *.dfm file
For example:
object VirtualTable1Field1: TSmallintField
FieldName = 'Field1'
end
object VirtualTable1field2: TStringField
FieldName = 'field2'
end
Posted: Tue 02 Nov 2010 03:22
by halenpolen
[quote="AlexP"]Hello,
If you added fields in the *.dfm file manually, then it is incorrect syntax.
Please create fields in design time and save this form. You will be able to see correct fields descriptions in the *.dfm file
For example:
object VirtualTable1Field1: TSmallintField
FieldName = 'Field1'
end
object VirtualTable1field2: TStringField
FieldName = 'field2'
end[/quote]
Thx I have to changed it manually,but It's work