程序是用BDE连接的,代码如下:
procedure Tadduserf.BitBtn2Click(Sender: TObject);
begin
if not GGSY_DB.usertable.Active then GGSY_DB.usertable.Open;
if not GGSY_DB.usertable.Eof then begin
GGSY_DB.usertable.Delete;
GGSY_DB.usertable.Refresh;
end;
end;点按钮后提示如下错误“Table does not support this operation because it is not uiquely indexed.”点确定后,数据也能删除。
表中没建索引,也没有建关键字
procedure Tadduserf.BitBtn2Click(Sender: TObject);
begin
if not GGSY_DB.usertable.Active then GGSY_DB.usertable.Open;
if not GGSY_DB.usertable.Eof then begin
GGSY_DB.usertable.Delete;
GGSY_DB.usertable.Refresh;
end;
end;点按钮后提示如下错误“Table does not support this operation because it is not uiquely indexed.”点确定后,数据也能删除。
表中没建索引,也没有建关键字
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货