Get the JET DDL type name from the DAO DataTypeEnum
The DAO Field DataTypeEnum
The DAO Field Attributes property
The field length property for variable length fields
Debug.Print xf.Scripter.GetFieldDDLTypeName(dbBoolean, 0, 0) --> YESNO Debug.Print xf.Scripter.GetFieldDDLTypeName(dbLong, dbAutoIncrField, 0) --> COUNTER Debug.Print xf.Scripter.GetFieldDDLTypeName(dbText, 0, 170) --> TEXT(170)