select * from SysProductDictionary where ProDict_ClassNumber='1'

解决方案 »

  1.   

    我知道这样可以
    但是、我是要用变量代替表名
    可以么
    可以的的话,要怎么写???
    ================================================================
    horse has four leg
    so water in sea
      

  2.   

    继续给我分!继续给我分!继续给我分!继续给我分!继续给我分!继续给我分!继续给我分!继续给我分!继续给我分!继续给我分!继续给我分!继续给我分!继续给我分!继续给我分!----------------------------------------------
    我是打工者,我不想一辈子给别人打工!
    打工者
    http://www.dagongzhe.net
      

  3.   

    .open 后面的字符串"select * from " & SzTableName & " where " & SzClassID & "='" & SzClass & "' and " & SzParentID & "= '" & sParentID & "'", dbPharmacysys
    即表名和字段名去掉单引号
      

  4.   

    select * from ' " & SysProductDictionary & "' where '" & ProDict_ClassNumber & "'='1'
      

  5.   

    lunweiliang 说的对,我也自己解决了
    分我会给的================================================================
    horse has four leg
    so water in sea
      

  6.   

    select * from " & SzTableName & " where " & SzClassID & "='" & SzClass & "'", dbPharmacysys
      

  7.   

    "select * from " & SysProductDictionary & " where " & ProDict_ClassNumber & "='1'"
      

  8.   

    杀人啊,我怎么问这么弱的问题

    不要再跟了,好没有面子
    ================================================================
    horse has four leg
    so water in sea