You tried to use a value that isn't an index. You can determine the valid index names by looking in the Indexes collection of the CdbTableDef object.