S
swuis
Unregistered / Unconfirmed
GUEST, unregistred user!
var aa01:integer;
begin
aa01:=5;
ADODataSet1.CommandText:='select * from t_item where fitemclass=aa01 and flevel=1 order by fnumber';
ADODataSet1.Active:=false;
ADODataSet1.Active:=true;
end;
提示出错
如直接付值如下则正确
begin
ADODataSet1.CommandText:='select * from t_item where fitemclass=5 and flevel=1 order by fnumber';
ADODataSet1.Active:=false;
ADODataSet1.Active:=true;
end;
请指正
begin
aa01:=5;
ADODataSet1.CommandText:='select * from t_item where fitemclass=aa01 and flevel=1 order by fnumber';
ADODataSet1.Active:=false;
ADODataSet1.Active:=true;
end;
提示出错
如直接付值如下则正确
begin
ADODataSet1.CommandText:='select * from t_item where fitemclass=5 and flevel=1 order by fnumber';
ADODataSet1.Active:=false;
ADODataSet1.Active:=true;
end;
请指正