Re: [sqlite] C++ - nothing has been stored!!??

2012-07-25 Thread Eduardo Morras
At 03:27 25/07/2012, you wrote: And here I am again, asking for what you find so easy and I. well, just cannot understand. ... but this does not store anything in the database table. I have used an sqlite browser to determine if, in fact, some data was stored, but no, nothing has been

Re: [sqlite] C++ - nothing has been stored!!??

2012-07-24 Thread Igor Tandetnik
On 7/24/2012 9:27 PM, Arbol One wrote: void mySQLite3Class::write(const Glib::ustring& sql_stmt, int pos, int data )throw(someException) { rc = sqlite3_prepare_v2(db, sql_stmt.c_str(), -1, , NULL); if(rc != SQLITE_OK) { throw(someException)} rc = sqlite3_bind_int(stmt, pos,

[sqlite] C++ - nothing has been stored!!??

2012-07-24 Thread Arbol One
And here I am again, asking for what you find so easy and I. well, just cannot understand. I am trying to write to a database table previously created by another process like this: void someClass::create_tblName() { sql_param_tblName = "CREATE TABLE name(n_id INTEGER PRIMARY KEY, title