PreviousActiveX Controls Guide (v10) Next

DdfClearIndexes

Chapter contents

Applies to:

VAccess

Description

Clears the index information in the VAccess memory image (and optionally in the DDF) for the current table.

Syntax

object. DdfClearIndexes

The DdfClearIndexes method syntax has these parts:

Part
Description
object
Required. The name of a valid VAccess control.

Return Value

DdfClearIndexes returns a two-byte integer that holds the status of the VAccess control. If this is zero, the operation completed successfully.

Remarks

DdfClearIndexes always destroys the current index information in the VAccess memory image. If RefreshLocations is True, it will also delete all index information for the current table in INDEX.DDF. It is highly recommended that RefreshLocations be set to False before invoking this method.

See Also

DdfClearIndexes, IndexList, RefreshLocations, DdfTransactionMode


Chapter contents
Book contents

Prev topic: DdfClearFields
Next topic: DdfCreateDictionary