Hi all,
I haven’t used SQLite for many years but wanting a local database, so created one in DB Browser for SQLite, used the Xojo connector and open on launch. However when I insert some lines into it, no errors caught, no exceptions but the actual file never seems to get touched. Modified time stays same and when I open the SQLite database in the browser it does not have the data added at all.
Yet, if I create an MYSQL connector, same table structure, it adds the data fine.
I feel I’m missing something simple. (Xojo 2024r3.1).
for each objScene as Object in arrScenes
szName = Dictionary(objScene).Value("sceneName")
szUuid = Dictionary(objScene).Value("sceneUuid")
iSceneIndex = Dictionary(objScene).Value("sceneIndex")
Var szSQL As String
szSQL = "INSERT INTO obsScenes (sceneIndex, sceneName, sceneUuid) VALUES (?,?,?)"
db1.ExecuteSQL(szSQL, iSceneIndex, szName, szUuid)
next
Works fine in MySQL, not SQLite. Any thoughts? Thanks
6 posts - 5 participants