Emergency consultation database structural problems

Category: Delphi -> Database Author: mutou101101 Date: 2001-07-09 12:50:23
2001-07-09 12:50:23
I want to deal with Delphi database structure, only know the name and type of each field,
But how to get the size of each field, truthfully number type field size and number of decimal places
2001-07-09 13:03:44
if is a string type, you can reference TField.Size. If it is a real number type, then there is no way, Delphi is not clear.
2001-07-09 13:17:46
Field Properties fielddefs have such attributes, including:
FieldDefs [i]. Required: whether empty
FieldDefs [i]. DataType: Data Types
FieldDefs [i]. Size: field size