Hi Simon Slavin, This works! Almost identical to the approach used for OLE DB example described in the 26 Jan, 11:45am email attachment.
The end result code for SQLite is attached. ----------------------------- Hi James K. Lowden, Examples are a source I've used since 1968 (Fortran using key punch cards). Examples have worked very well for me for many years ... Assembler thru WPF ... along with considerable database code (CTREE, SQL, etc.) ... and microprocessor / microcontroller code ... worked at Texas Instruments, 3M, Emerson. Circa 1982, Microsoft provided good books for MS-DOS Assembler and C ... with many examples. I learned how to program PC's in a few weeks, including things such as TSR's and memory structure. Microsoft's Windows books were terrible. It was like looking through "every" book in an encyclopedia trying to find a word. The SQLite websites would be more useful with examples. One example is worth more than a thousand words. The Microsoft forums and StackOverflow forums provide many examples with few words. I switched to the SQLite Mailing List as I found limited sqlite knowledge on those forums. ----------------------------- Hi SQLite Mailing List, I am grateful for the assistance I've received via SQLite Mailing List emails. This has helped me write the code I need. Thanks! Clyde On Fri, Jan 27, 2017 at 1:08 PM, James K. Lowden <jklow...@schemamania.org> wrote: > On Thu, 26 Jan 2017 11:45:41 -0600 > Clyde Eisenbeis <cte...@gmail.com> wrote: > >> Usually I look at examples, and extract the relevant info. > > In the Age of Google, that has become a popular technique. But it's > not a good way to learn anything. I wonder, though: how do you know > what the "relevant info" is? How do you even know it's there? > > Think about it. Did you learn geometry by extrapolating from examples > of triangles, or by starting with 5 axioms and developing theorems? In > fact, have you ever learned *anything* by extrapolating from examples? > > The definitive explanation for use of the SQLite binding functions is > the documentation. It might be harder to read the first time than > putzing with an example, but (as has been suggested) the process of > working from the documentation forces you to understand what you're > doing. Working from knowledge is much more productive -- and > satisfying -- than guessing. > >> I'd appreciate some example code which uses "sqlite3_bind_". Thanks! > > More than once in this thread it's been suggested that you read the > documentation. That's where the answers lie. Many people have shown a > willingness to explain how the SQLite functions work. Why should they > take time to scout out examples for you, just help you get your job > done? > > --jkl > _______________________________________________ > sqlite-users mailing list > sqlite-users@mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users