On 25 Jun 2012, at 11:36pm, Arbol One <[email protected]> wrote: > In my GUI application the user enters a information that will go in a SQLite > database table, so statements like: > > string dbdata = "INSERT INTO friend (name, address, age) VALUES ('Caramba', > '490 New Bridge', '49')"; > > are not very useful in a real life C++ GUI application.
That thing you quoted above ... the thing between the double quotes ... is a string. You can make up the string yourself by concatenating several strings together. > I would assume that > SQLite has functions to submit information in the form of string object to > a table You already know how to use _prepare. Now see how to use wildcards in it and bind values to them: <http://www.sqlite.org/c3ref/bind_blob.html> Simon. _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

