rs.filter="字段名=(‘*“+(text1.text)+”*’)"
因为我的键盘有问题 + 号用数字键 7上面的符号来代替

解决方案 »

  1.   

    select * from tablename where fieldname like '%计算机%'
      

  2.   

    select * from yourtable where yourfield like '%计%算%机%'
      

  3.   

    也可以这样
    rs.open"select * from 表 where 字段=‘*“+(text1.text)+”*’"
    因为我的键盘有问题 + 号用数字键 7上面的符号来代替
      

  4.   

    select * from table where 字段 like '% " & 计算机 & " % '
      

  5.   

    Select * from TableName where instr(fieldname,"计算机")>0