Access .MDB AutoIncrement Column value reset
utorok, október 25th, 2011ADOQuery1->SQL->Clear(); ADOQuery1->SQL->Add("ALTER TABLE TableName ALTER COLUMN ColumnName AUTOINCREMENT(1,1);"); //(1,1)->The starting value will be 1, and it will increment by 1. ADOQuery1->ExecSQL();