Maptitude GISDK Help

BuildInternalIndex()

Summary

Builds a permanent index on a field in a table.

 

Syntax

BuildInternalIndex(string field_spec)

 

Argument

Contents

field_spec

The field spec of the field to be indexed

 

Notes

File Type

Extension

dBASE

MDX (default) or .CDX (FoxPro-styled)

fixed-format text

AX

fixed-format binary

BX

comma-separated text

CSX

Example

BuildInternalIndex("[U.S. States].Population")

BuildInternalIndex("Employee.LNAME")

 

Error Codes

Error Type

Meaning

Error

The program cannot create a new index file or cannot obtain exclusive read-write permissions to the index and data files;or

the underlying index file structure does not support such an index (e.g., dBASE cannot index a logical field); or

the specified index exists already; or

there are file I/O errors (e.g., out of disk space).

NotFound

The specified field does not exist

 

 

©2025 Caliper Corporation www.caliper.com