Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_ScripterSQL Script Generation and Processing

Public Function GetFieldStatsFromDDLTypeName (
TypeDDLName As String,
ByRef FieldType As DAO.DataTypeEnum,
ByRef Attributes As Long,
ByRef HasFieldLen As Boolean
) As Boolean

Deduce the DAO Field properties from the JET DDL type name

TypeDDLName as String

The DDL type name

ByRef FieldType as DAO.DataTypeEnum

The DAO Field DataTypeEnum

ByRef Attributes as Long

The DAO Field Attributes property

ByRef HasFieldLen as Boolean

The field length property for variable length fields

Call Template:

Dim b As Boolean
b = xf.Scripter.GetFieldStatsFromDDLTypeName(TypeDDLName, FieldType, Attributes, HasFieldLen)

See Also:

Example 1:

GetFieldStatsFromDDLTypeName "YESNO", DataType, Attributes, HasFieldLen
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd