Current Status of El Choni's SQLite Library?
That is what you are trying to do with SQLiteExec(SQL), access the database 
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
SQLiteExec runs an SQL query, which could read or write to the database depending on the query..
I would say that the results of a SELECT are stored in memory for access (probably why you can loop through a result set after the database is gone).. You should get an error the next time the library needs to look at the database file - which should be upon initial execution of the query and gathering of results (be that query a SELECT,INSERT,UPDATE or the like)..
I would say that the results of a SELECT are stored in memory for access (probably why you can loop through a result set after the database is gone).. You should get an error the next time the library needs to look at the database file - which should be upon initial execution of the query and gathering of results (be that query a SELECT,INSERT,UPDATE or the like)..
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Do a FileSize() on the database file to see if it still exists before trying to run any queries on it..
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Mitch,
By definition, SQLiteExec only executes INSERT or UPDATE queries, which DO NOT return any results. SQLiteGetTable runs SELECT queries which return data which is indeed stored in memory. When you execute SQLiteRemoveData(), retrieved table data is removed from memory.
The question remains: why does SQLiteGetTable() return a 0 (success) when it can not connect to the database file, because the network is disconnected?
By definition, SQLiteExec only executes INSERT or UPDATE queries, which DO NOT return any results. SQLiteGetTable runs SELECT queries which return data which is indeed stored in memory. When you execute SQLiteRemoveData(), retrieved table data is removed from memory.
The question remains: why does SQLiteGetTable() return a 0 (success) when it can not connect to the database file, because the network is disconnected?
If I could read it would help - wouldn't it!
I don't know why one would return success and the other fail.. Crazy for sure..
Smack me. It's early and I haven't had any coffee.
I don't know why one would return success and the other fail.. Crazy for sure..
Smack me. It's early and I haven't had any coffee.
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Hi,
Next SQLite PureLibrary release will support both SQlite 2 and SQLite 3 dlls. Since this release has been waiting too much, my plan is to delay the release of the final version of TailBite (which will be, anyway, much like the current beta plus some goodies) and concentrate in SQLite.
Any suggestions are welcome, although I think the current wrapping functions set is enough.
Regards,
Next SQLite PureLibrary release will support both SQlite 2 and SQLite 3 dlls. Since this release has been waiting too much, my plan is to delay the release of the final version of TailBite (which will be, anyway, much like the current beta plus some goodies) and concentrate in SQLite.
Any suggestions are welcome, although I think the current wrapping functions set is enough.
Regards,
El_Choni
Hey Choni - any status updates for us?
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net


