Hello all .... this is my first B4A question,
The question is actually in the title.
I found a lot of answer about this ... but nothing working.
Some use sql_lite, I am using SQL, I don't know if there is a difference (I use to us mySql when coding PHP).
My syntax is:
I get:
android.database.sqlite.SQLiteException: no such table: mytable (code 1): , while compiling: SELECT count(*) FROM mytable
Even with Try Catch I'm unable to test.
Hope someone is able to help me. Thw.
The question is actually in the title.
I found a lot of answer about this ... but nothing working.
Some use sql_lite, I am using SQL, I don't know if there is a difference (I use to us mySql when coding PHP).
My syntax is:
B4X:
db.Initialize(File.DirInternal, dbFileName, True)
if db.ExecQuerySingleResult("SELECT count(*) FROM mytable") = Null <== ERROR HERE
I get:
android.database.sqlite.SQLiteException: no such table: mytable (code 1): , while compiling: SELECT count(*) FROM mytable
Even with Try Catch I'm unable to test.
Hope someone is able to help me. Thw.