Re: [sqlite] c++ - Tell SQLite3, read the subsequent rows

2012-09-14 Thread Rob Richardson
Igor, you didn't read ArbolOne's incomprehensible code correctly. Here it is with reasonable formatting: void mySQLite3::setStmt(const Glib::ustring& s) { SQLStatement = s; if (mystmt == NULL) { rc =

Re: [sqlite] c++ - Tell SQLite3, read the subsequent rows

2012-09-13 Thread Igor Tandetnik
ArbolOne wrote: > I would like to know how does one tell SQLite3 to > read the subsequent rows using the C/C++ API. One calls sqlite3_step whenever one wishes to advance to the next row. > void mySQLite3::setStmt(const Glib::ustring& s) { > SQLStatement = s; > if (mystmt ==

[sqlite] c++ - Tell SQLite3, read the subsequent rows

2012-09-13 Thread ArbolOne
I have been able to write to the databaserepeatedly; several records have been added to it in a table named ‘name’ tolook like this: Id - tile - fname - mname - lname 100 - Mr - Me - Who - Papá 101 - Mrs - She - What - Mamá 102 - Mr - He - Who - Papá I am now trying to read all the