All Cadcorp SIS API Methods

CreateColumnIndex Method

Description

Create an index on an attribute column in an idb file or other editable cursor-based dataset.

Syntax

Visual Basic
Public Sub CreateColumnIndex( _
   ByVal nDataset As Integer, _
   ByVal column As String _
)

Parameters

nDataset
The idb file is referenced by its dataset number which can be determined from the overlay in which it is displayed..
 
column
The column to be indexed must be identified by name. These names are not case-sensitive. An exception will be raised if the column does not exist.

Remarks

Available: D OD OM SISpy

Group:

Example

sis.CreateColumnIndex (datasetNo, “Address” )