adoquery1.sql.text:='select   *   from   table'; 
...............
如何遍历查询后所有记录, 比如说table表中,有‘aa’这个字段再程序中如何遍历完所有‘aa’字段的内容初学DElphi  很多都不董, 谢谢

解决方案 »

  1.   

    select * from table when aa in(select aa from table)
      

  2.   

    就是selct 之后  那些记录 我如何遍历得到
    用Delphi语句
      

  3.   

    select * from table where &&='aa'
      

  4.   

    怎么又是这个select * from table
    我想说的是,  select之后,如何使用查询的记录,
    遍历查询后的记录
      

  5.   

     With Adoquery1 do
       Begin
        Close;
        Sql.text:='select  *  from  table';
        Open;
        Wihle not Eof do
          Begin
            Memo1.Lines.Add(Fieldbyname('aa').asstring);
            Next;
          End;
       End;