After right click on field collection editor in table component and select 'Add all fields', if there is a LargeInt field, it gets added as a String field.
Is this a bug in ZeosDBO that it is not reading the table structure properly?
LargeInt fields show up as TStringField in Table component
Moderators: gto, cipto_kh, EgonHugeist
-
- Junior Boarder
- Posts: 27
- Joined: 22.05.2008, 23:54
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
This might be becuse of the 'loose typing' used by SQLite.
Actually, except for some execptions, SQLite ignores the field type you define. So it's difficult for zeoslib to guess the correct datatype.
Have a look at ConvertSQLiteTypeToSQLType to see how conversion is done.
Mark
Actually, except for some execptions, SQLite ignores the field type you define. So it's difficult for zeoslib to guess the correct datatype.
Have a look at ConvertSQLiteTypeToSQLType to see how conversion is done.
Mark
Last edited by mdaems on 13.04.2010, 22:39, edited 1 time in total.
Hi,
Using ZeosLib Trunk version 774, Delphi 2010, SQLite Databse
Any idea?
Pascal
Using ZeosLib Trunk version 774, Delphi 2010, SQLite Databse
Same problem here but I have a INT64(LARGEINT) in the database that gets added as a TIntegerField.After right click on field collection editor in table component and select 'Add all fields', if there is a LargeInt field, it gets added as a String field.
Any idea?
Pascal
In theory, there is no difference between theory and practice. But, in practice, there is.