S
strchi
Unregistered / Unconfirmed
GUEST, unregistred user!
begin
if dbedit1.Text ='' then
with ADOquery1 do
begin
close;
sql.Clear;
sql.Add('update k001 set zt = '+''''+trim(edit2.Text)+''''+' where mm like '+''''+'%'+trim(edit1.text)+'%'+'''');
execSQL;
//open;
end;
end;
if dbedit1.Text ='' then
with ADOquery1 do
begin
close;
sql.Clear;
sql.Add('update k001 set zt = '+''''+trim(edit2.Text)+''''+' where mm like '+''''+'%'+trim(edit1.text)+'%'+'''');
execSQL;
//open;
end;
end;