PdcDatabase.UserTableExists: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == UserTableExist(TableName: String) as boolean == Description == Checks wether a table does already exist or not. == Notes == This call is only for usertable..."
 
No edit summary
Line 3: Line 3:


== Description ==
== Description ==
Checks wether a table does already exist or not.
Checks wether or not a table does already exist in the PdC database.


== Notes ==
== Notes ==
This call is only for usertables. Also the name of the table must start with 'UT_' which is the required naming convention in PdC.
This call is only for usertables. Also the name of the table must start with 'UT_' which is the required naming convention in PdC.
You can find all usertables in the menu 'pdc.maintenance.tables.userfields' and filter on field 'TB_ISUSERTABLE'.
You can find all usertables in the menu 'pdc.maintenance.tables.userfields' and filter on field 'TB_ISUSERTABLE=True'.


== Code example ==
== Code example ==

Revision as of 11:15, 11 December 2015

Declaration

UserTableExist(TableName: String) as boolean

Description

Checks wether or not a table does already exist in the PdC database.

Notes

This call is only for usertables. Also the name of the table must start with 'UT_' which is the required naming convention in PdC. You can find all usertables in the menu 'pdc.maintenance.tables.userfields' and filter on field 'TB_ISUSERTABLE=True'.

Code example

Availability

Available since 11-12-2015 (from version 5.1 onwards)