为什么这段代码运行不起来呢try
   with adoquery1 do
   begin
     SQLStr:= 'select *'+
              'from'+'"trim(label1.caption)"';
     close;
     SQL.Clear;
     SQL.Text:=SQLStr;
     open;
   end;
  except
  end;