回复 chzj589
試看看 SQLCreate($SQLite_Data_Path, $TableName, "IDs Text PRIMARY KEY, Name ...
kk_lee69 发表于 2016-10-28 13:13
修改为:
_SQLite_Startup()
$ah =""
$h1 ="aaa"
$h2 ="12345"
$h3 ="22"
If Not FileExists($SQLite_Data_Path) Then
SQLCreate($SQLite_Data_Path, $TableName, "IDs int IDENTITY PRIMARY KEY, Name Text, Age Text, Age1 Text")
_SQLite_Open($SQLite_Data_Path)
_SQLite_QuerySingleRow(-1, "SELECT IDs FROM " & $TableName & " WHERE IDs = '" & $ah & "';", $aRow)
_SQLite_Exec(-1, "Insert into " & $TableName & " (IDs,Name,Age,Age1) values ('" & $ah & "','" &$h1 & "','" & $h2 & "','" & $h3 & "');")
MsgBox(48, "提示", "数据库创建成功 ", 1)
EndIf
运行:
我没装SQLite编辑器,无法查看,但现在没有读取出来 |