Maptitude GISDK Help

CC.Table Class

Summary

Creates a new table with specified fields.

 

Syntax

CC.Table( string view)

 

 

Methods

 

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

 

 

Example

 

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:

AddLayerDB

AddTables

Calculate Tables

Caliper.Charts

CC.ModifyTableOperations

CC.Table

Clustering

Data.Finder

Data.Geocoder

PostgreSQLConnect

PostgreSQLCommand

Routing.Bands

Routing.Path

Routing.Router

Table

Utilities.Mail

 

 

©2025 Caliper Corporation www.caliper.com