close
由於使用的系統是Access 2003資料庫,其它的版本可能不相同吧
例:
Sql = "select * From [tablename] Where Title like ’%"&keyword&"%’ order By id Desc"
換成:
Sql = "select * from [tablename] where InStr(1,LCase(Title),LCase(’"&keyword&"’),0)<>0 order by id desc"
全站熱搜
留言列表