PreviousActiveX Controls Guide (9.1 revision 1) Next

DdfDropTable

Show this topic in Library frames

Applies to:

VAccess

Description

Drops the current table from the data dictionary as specified by TableName.

Syntax

object. DdfDropTable

The DdfDropTable method syntax has these parts:

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

Return Value

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

Remarks

DdfDropTable removes all references to the current table from the current data dictionary. It does not affect the data file in any way.

Unlike many of the other dictionary methods and properties, DdfDropTable does not check RefreshLocations. Since its only purpose is to delete DDF information, it assumes that it should write directly to the DDF.

See Also

DdfAddTable, DdfAddTableName, TableName


Chapter contents
Publication contents

Prev topic: DdfDropIndexMaintain
Next topic: DdfGetFieldComments