Navigation:  DAO Object Classes > DaoTableDef Class >

DaoTableDef:CreateIndex() Method

Previous pageReturn to chapter overviewNext page

Purpose

Creates a new Index object

 

Parameters

cName(Optional) A string that uniquely names the new Index object.

 

Returns

Index Object

 

Remarks

You can use the CreateField method to create a new field, as well as specify the name, data type, and size of the field. If you omit one or more of the optional parts when you use CreateField, you can use an appropriate assignment statement to set or reset the corresponding property before you append the new object to a collection. After you append the new object, you can alter some but not all of its property settings. See the individual property topics for more details.

 

Class

DaoTableDef