GetFieldInfo - method of the PmaDatabase object
Description:
Returns the information about columns in the database table.
Syntax:
Variant GetFieldInfo(Variant vField, Long nType)
Parameters:
vField | (Variant) Item name or its index (zero-based index). |
nType | (Long) Specifies the required information:
2 - Returns column name
1 - Returns data type of the column. See CreateField(nType). |
---|
Example:
JavaScriptVBScriptSelect and copy to clipboard
var sColName = oDb.GetFieldInfo(0, 2);
var nColType = oDb.GetFieldInfo(0, 1);
Dim sColName
sColName = oDb.GetFieldInfo(0, 2)
Dim nColType
nColType = oDb.GetFieldInfo(0, 1)