File size: 1,882 Bytes
44efec5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Data Manager Interface - unfinished
=============================

Data Manager Interface provides the following functions: 

- ven:func:`AddColumn`
- ven:func:`AddTable`
- ven:func:`DeleteRows`
- ven:func:`ExecuteAggregateFunction`
- ven:func:`ExecuteSelectAllLineByLineCommand`
- ven:func:`ExecuteSelectCommand`
- ven:func:`ExportColumnsToCSVFile`
- ven:func:`ExportColumnsToExcelFile`
- ven:func:`ExportColumnsToXMLFile`
- ven:func:`ExportSelectedToCSVFile`
- ven:func:`ExportSelectedToExcelFile`
- ven:func:`ExportSelectedToXMLFile`
- ven:func:`ExportToCSVFile`
- ven:func:`ExportToExcelFile`
- ven:func:`ExportToXMLFile`
- ven:func:`GetRowCount`
- ven:func:`GetSelectCommandRow`
- ven:func:`ImportFromCSVFile`
- ven:func:`ImportFromExcelFile`
- ven:func:`ImportFromXMLFile`
- ven:func:`Init`
- ven:func:`InsertRow`
- ven:func:`InsertSortedRow`
- ven:func:`LoadDataManagerContent`
- ven:func:`RemoveColumn`
- ven:func:`RemoveTable`
- ven:func:`RenameColumn`
- ven:func:`ResetManager`
- ven:func:`SaveDataManagerContent`
- ven:func:`Terminate`
- ven:func:`UpdateRows`

.. ven:function:: AddColumn(variable i_strTableName, variable i_strColumnName, variable i_iColumnType, variable i_bAllowDBNull, variable i_oValue)

This function adds a column to the specified table.

:params i_strTableName: The name of the table
:params i_strColumnName: The name of the column to be added
:params i_iColumnType: The type of column as an integer (

INPUT:
i_strTableName : name of the table (string)
i_strColumnName : name of the column (string)
i_iColumnType : type of the column (int) (see enum DATAMANAGERINTERFACEBASE::VALUTYPE)
                               String = 1, Integer = 2, Double = 3, Boolean = 4
i_bAllowDBNull : set whether null is allowed for the columns (bool)
i_oValue : value which shall bes set to all row values of the new column (object, regarding to 'i_iColumnType')