Hello.
Developing an app for weeks, I run it many times without any problems, bringing new features every week.
This day, it stops running with this arror:
What is interesting is that I never changed anything about the pvpt table for a long time. I work on other activities.
My starter declaration is ok, the table pvpt exists from the beginning. I have tested its contents, all is ok.
I also make care with this code:
curs is declared as Cursor like this:
What can suddenly make this error ???
What I saw in the forum doesn't fit with my problem for the same error. Here, the tbla pvpt is not reconized.
Thanks much for those who can give me some ideas !
Developing an app for weeks, I run it many times without any problems, bringing new features every week.
This day, it stops running with this arror:
android.database.sqlite.SQLiteException: no such table: pvpt (code 1 SQLITE_ERROR): , while compiling: SELECT * FROM pvpt WHERE pays='France' AND villes='Paris'
What is interesting is that I never changed anything about the pvpt table for a long time. I work on other activities.
My starter declaration is ok, the table pvpt exists from the beginning. I have tested its contents, all is ok.
I also make care with this code:
try catch code:
synt="SELECT * FROM pvpt WHERE pays='France' AND villes='Paris'"
Try
curs=Starter.SQL1.ExecQuery(synt)
curs.Position=0
Catch
MsgboxAsync("Pas de table pvpt dans la base !","MANQUE TABLE")
' MsgboxAsync("No table pvpt named in the base !","TABLE IS MISSING")
End Try
curs is declared as Cursor like this:
cursor:
Private Curs as Cursor
What can suddenly make this error ???
What I saw in the forum doesn't fit with my problem for the same error. Here, the tbla pvpt is not reconized.
Thanks much for those who can give me some ideas !