|sName||(String) Column name|
|nType||(Long) Data type of the column|
1 - Boolean
2 - Byte
3 - Integer
4 - Long
6 - Single (4-byte real number)
7 - Double (8-byte real number)
8 - Date (Date and time)
11 - LongBinary
12 - Memo
|nSize||(Long) The size of column. It is entered only if the parameter nType=10. Otherwise has no meaning.|
By repeating the method it is possible to create the desired structure of the database table.
This method is not functional if the "Technology" configurator is set to Access through ODBC. In this case to create the table it is necessary to use the MS SQL language and call the Execute method for the command execution.
var bCreateField = oDb.CreateField("note", 10, 50);