C
ChrisMao
Unregistered / Unconfirmed
GUEST, unregistred user!
if MessageBox(Handle,'删除参数将导致数据的不一致,确认要删除吗?','系统提示',mb_IconInformation+mb_OK+mb_OKCancel)=mrOK then
begin
strSQL := 'Delete from gzgl where 工人工号='+ QuotedStr(ADOQuery1.FieldByName('工人工号').AsString);
end
else begin
Abort;
end;
begin
strSQL := 'Delete from gzgl where 工人工号='+ QuotedStr(ADOQuery1.FieldByName('工人工号').AsString);
end
else begin
Abort;
end;