Creates a new index definition object and adds it to the Items property.
function AddIndexDef: TABSAdvIndexDef;
Description
Call AddIndexDef to add index definitions when creating a database table. AddIndexDef returns the new TABSAdvIndexDef object that was added to the AdvIndexDefs collection of index definitions. After calling AddIndexDef, set the properties of the newly added TABSAdvIndexDef object to specify the name, type, and other options of index that will be created.
Note: AddIndexDef is valid in the context of creating index definitions for a table to be created with a subsequent call to the CreateTable method. It also can be used to add indexes to an already-existing table when used with RestructureIndexDefs property of TABSTable component.
|
|