Hi + tx for support!
I have
type
[Enumeration(TEnumMappingType.emChar, 'A, M')]
TModus = (mAutomatic, mManuell);
[Enumeration(TEnumMappingType.emChar, 'A, M')]
TModus = (mAutomatic, mManuell);
type
TTBLXLSImport = class;
TTBLXLSImport = class;
[Entity]
[Table('TBLXLSImport')]
[Id('FID', TIdGenerator.IdentityOrSequence)]
TTBLXLSImport = class
private
...
[Table('TBLXLSImport')]
[Id('FID', TIdGenerator.IdentityOrSequence)]
TTBLXLSImport = class
private
...
[Column('Modus')]
FModus: TModus;
This is generated as Char(1) in the database. When I retrieve the field definitions from the BPL (yes recreated), a TIntegerFiels is created. Additionally, the FNCGrid (via Adapter) displays 0 for all NULLs.
What am I missing?