PdcDatabase.CreateUserTable: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
== Description ==
== Description ==
Using this method you can create a usertable inclusive all fields without any reorganization of the database.<br>
Using this method you can create a usertable inclusive all fields without any reorganization of the database.<br>
It only works If the table not already exists. To determine the table exists, you can use the method 'UserTableExists'.<br>
This is only possible if the table doesn't exist already. To determine this use the method 'UserTableExists'.<br>


== Notes ==
== Notes ==
After creating a table with this method, you have to restart PdC, to become the new table in the menu of PdC.
After creating a table with this method, you have to restart PdC, to have the new table shown in the menu of PdC.


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

Revision as of 11:22, 9 February 2016

Declaration

CreateUserTable(TableName: String, TableDescription: String, FieldData: String) as boolean

Description

Using this method you can create a usertable inclusive all fields without any reorganization of the database.
This is only possible if the table doesn't exist already. To determine this use the method 'UserTableExists'.

Notes

After creating a table with this method, you have to restart PdC, to have the new table shown in the menu of PdC.

Code example

Availability

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