试试 select * from where 上次查询的某字段 in (上次查询语句) 

解决方案 »

  1.   

    这个容易,你把SQL语句再延长就是了。
    比如:
    S_SQL:='Select * from custom where name like ''%林%'''
    第二次的时候
    S_SQL:=S_SQL+' and Address like ''%深圳%''';
    呵呵是几个技巧,奸笑奸笑!
      

  2.   

    如下
    select * from (select * from table) as t1 where .....
      

  3.   

    可以用两个Recordset
    先在Query1中进行查询,之后Query2.recordset:=Query1.recordset,再对Query2进行查询
      

  4.   

    说错了recordset属性只有ADO才有的,先在AdoDataset1中进行查询,之后ADODataset2.recordset:=AdoDataset1.recordset,再对ADODataset2进行查询