PdcDatabase.GetFieldLength: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
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. ..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:


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


== Notes ==
== Notes ==
Line 16: Line 16:
size = pdc.DataBase.GetFieldLength("TLE_TILE", "TLE_NAME")
size = pdc.DataBase.GetFieldLength("TLE_TILE", "TLE_NAME")
</source>
</source>
The following pdcConnectionKinds are available:<br />
'''pdcConnectionKind - Value - Info'''<br />
pdcConNone - 0<br />
pdcConData - 1 - Data-files<br />
pdcConATRData - 2 - ATR-files<br />
pdcConLijst - 3 - List-files<br />
pdcConPlan - 4 - Planning-files<br />
pdcConTemp - 5 - Temp-files<br />
pdcConHis - 6 - History-files<br />
pdcConNCData - 7 - NC-Data-files<br />
pdcConWerk - 8 - Work-files<br />
pdcConCustom - 9


== Availability ==
== Availability ==
Available since September 2018 (from version 5.5)
Available since September 2018 (from version 5.5)

Latest revision as of 10:41, 12 September 2018

Declaration

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

Description

Return the field length of the given 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")

Availability

Available since September 2018 (from version 5.5)