> rc = sqlite3_open("test.db", db)
> If Not rc=SQLITE_OK
>     Print("Can't open database "+rc)
>     sqlite3_close(db)
>     End
> Else
>     Print("Opened: "+rc)
> EndIf
> 
> Print("Errcode: "+sqlite3_errcode(db))

Why are you asking for the error code when you already know there was no error?
( this statement: "If Not rc=SQLITE_OK" tells you there was no error )

Are you correctly storing the database handle and passing it to
subsequent functions? (db)

Reply via email to