Maptitude GISDK Help |
Creates a new table with specified fields.
CC.Table( string view)
Create(array options)
If the table exits, but it is not open in the workspace, it is overwritten. If the table exists and its open in the workspace, existing fields will be retained and any newly defined fields will be added,
Option |
Type |
Description |
FileName |
string |
Name of the file to be created |
FieldSpecs |
array |
An array of field name, type, width and decimals |
AddEmptyRecords |
int |
Optional. Number of empty records to add to the output table |
DeleteExisting |
bool |
If the table exists delete it before creating the new one |
obj = CreateObject("CC.Table")
opt.FileName = "c:\\temp\\mytable.bin"
opt.FieldSpecs = { {"f1", "int", 4, 0}, {"f2", "int", 4, 0}}
opt.AddEmptyRecords = 30
obj.Create(opt)
See Also:
©2025 Caliper Corporation | www.caliper.com |