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: MM ME MD OD OM SISpy

Group:

Example

sis.CreateColumnIndex (datasetNo, “Address” )


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).