語法
Keys.Append Key [, KeyType] [, Column] [, RelatedTable]
參數(shù)
Key 要追加的 Key 對象,或要創(chuàng)建和追加的關(guān)鍵字的名稱。
KeyType 可選,長整型值。指定關(guān)鍵字類型。Key 參數(shù)與 Key 對象的 Type 屬性相對應(yīng)。
Column 可選,字符串值。指定進(jìn)行索引的列的名稱。Columns 參數(shù)與 Column 對象的 Name 屬性值相對應(yīng)。
RelatedTable 可選,字符串值。指定有關(guān)的表的名稱。RelatedTable 參數(shù)與 Table 對象的 Name 屬性值相對應(yīng)。
說明
Columns 參數(shù)可使用列名或列名數(shù)組。