PdcDatabase.GetFieldLength

From External Bemet Wiki
Revision as of 10:34, 12 September 2018 by TC (talk | contribs) (Created page with "== Declaration == GetFieldLength(strTableName as String,strFieldName as String) as integer == Description == Return the field length of the gieven field in the given table. ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration

GetFieldLength(strTableName as String,strFieldName as String) as integer

Description

Return the field length of the gieven field in the given table.

Notes

The input parameters are:

  • strTableName as string, the table name
  • strFieldName as string, the field name

Code example

Dim size
size = pdc.DataBase.GetFieldLength("TLE_TILE", "TLE_NAME")

The following pdcConnectionKinds are available:

pdcConnectionKind - Value - Info
pdcConNone - 0
pdcConData - 1 - Data-files
pdcConATRData - 2 - ATR-files
pdcConLijst - 3 - List-files
pdcConPlan - 4 - Planning-files
pdcConTemp - 5 - Temp-files
pdcConHis - 6 - History-files
pdcConNCData - 7 - NC-Data-files
pdcConWerk - 8 - Work-files
pdcConCustom - 9

Availability

Available since September 2018 (from version 5.5)