T
thender
Unregistered / Unconfirmed
GUEST, unregistred user!
begin
IF MessageDlg('真的要删除这一行记录吗?',mtInformation,[mbok,mbcancel],0)=mrok then
with Query1 do
begin
close;
SQL.Clear;
SQL.Add('Delete from "user.DB" where 编号= ');//此行未写完
//各位大哥,请问我要删除当前记录,该在 编号= 后写入什么代码??
ExecSQL;
Close;
SQL.Clear;
SQL.Add('select * from "User.db"');
Query1.open;
end;
end;
IF MessageDlg('真的要删除这一行记录吗?',mtInformation,[mbok,mbcancel],0)=mrok then
with Query1 do
begin
close;
SQL.Clear;
SQL.Add('Delete from "user.DB" where 编号= ');//此行未写完
//各位大哥,请问我要删除当前记录,该在 编号= 后写入什么代码??
ExecSQL;
Close;
SQL.Clear;
SQL.Add('select * from "User.db"');
Query1.open;
end;
end;