Promotic

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 name of the column
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);
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.