L
lingyan
Unregistered / Unconfirmed
GUEST, unregistred user!
下面的语句该怎么改?
adoquery1.Close;
adoquery1.SQL.Clear;
adoquery1.SQL.Add('select * from lb where 工号='+'"edit2.Text"');
adoquery1.open;
if adoquery1.fieldbyname('考核结果').AsString='' then
begin
.......
end;
adoquery1.Close;
adoquery1.SQL.Clear;
adoquery1.SQL.Add('select * from lb where 工号='+'"edit2.Text"');
adoquery1.open;
if adoquery1.fieldbyname('考核结果').AsString='' then
begin
.......
end;