譬如说你的表名为Table,字段为Field
Select * from Table Where Field='aaa'
如果你还要什么尽快说吧

解决方案 »

  1.   

    怎样才能 将这个语句 送到sql 表中?
      

  2.   

    rs.open"Select * from Table Where Field='"&text1.text&"'"
      

  3.   

    Dim Rs as new Ado.recordsetrs.open "Select * from TblName Where FldName='aaa'"
      

  4.   

    dim Rst as new adodb.recordset
    dim SQL as stringset rst=new adodb.recordset
    sql="select a.name form yourtable1 as a,yourtable2 as b where a.name<>'aaa' and a.id=b.id"
    rst.open sql,conn,1,3,adcmdtext