Requena Claudio
9/24/2007 10:38:00 AM
Hi,
Iâ??m trying to add an Index PrimaryKey in one table with no success.
in the code below the Fields.Append don't exist and give me error.
DAO.TableDef OBJTable = DAO_DATABASE.TableDefs["Table"];
DAO.Index OBJIndex = OBJTable.CreateIndex("PrimaryKey");
OBJIndex.Fields.Append(OBJIndex.CreateField("fMonthCD"));
Any help will be appreciated, Thanks.