本帖最后由 blue_dvd 于 2013-5-7 09:34 编辑
总是报错
SQLite.au3 Error
--> Function: _SQLite_Query
--> Query: SELECT * FROM MTY;
--> Error: no such table: MTY
主要是程序来自
http://www.autoitx.com/forum.php ... t=sqlite&page=1
加入代码后_SQLite_Query (-1,"SELECT * FROM MTY;",$hQuery )
While $vv=_SQLite_FetchData ($hQuery,$ONd)
GUICtrlCreateListViewItem ($ONd[0]&"|"&$ONd[1]&"|"&$ONd[2]&"|"&$ONd[3]&"|"&$ONd[4]&"|"&$ONd[5],$ListView1)
WEnd
就出现上面的错误,搜了一下,不知道怎么解决
SELECT * FROM 后面放的是什么变量?这里是:MTY
有些程序又是这样_SQLite_Query(-1, "SELECT * FROM TestTable ORDER BY IDs DESC;",$hQuery)
SELECT * FROM 后面跟的是:TestTable ORDER BY IDs DESC
SELECT * FROM 后面的值怎样在db中得到?
请高手赐教! |