Z
zhch1100
Unregistered / Unconfirmed
GUEST, unregistred user!
with adoquery1 do
begin
Close;
SQL.Clear;
sql.Add('select');
sql.Add('kq.*,gzxx.gwdm,gzxx.gzsj,gzxx.gzbz,gzxx.gwgz,gzxx.jszggz,gzxx.js1,gzxx.js2');
sql.Add('from kq,gzxx');
sql.Add('join gzxx');
sql.Add('on kq.dwbh=gzxx.dwbh');
sql.Add('and kq.xm=gzxx.xm');
sql.Add('where kq.dwbh=dwbh');
parameters.parambyname('pdwbh').value:=combobox1.text;
Open;
end;
begin
Close;
SQL.Clear;
sql.Add('select');
sql.Add('kq.*,gzxx.gwdm,gzxx.gzsj,gzxx.gzbz,gzxx.gwgz,gzxx.jszggz,gzxx.js1,gzxx.js2');
sql.Add('from kq,gzxx');
sql.Add('join gzxx');
sql.Add('on kq.dwbh=gzxx.dwbh');
sql.Add('and kq.xm=gzxx.xm');
sql.Add('where kq.dwbh=dwbh');
parameters.parambyname('pdwbh').value:=combobox1.text;
Open;
end;