Re: [sqlite] Getting an error 21 when doing a sqlite3_prepare_v2

2011-05-04 Thread Richard Hipp
On Tue, May 3, 2011 at 10:29 AM, Rolf Marsh wrote: > Good Morning Richard... thanks for the response... after making the > change you suggested and when doing the build, I get the following error: > > > > > l "_sqlite3MisuseError", referenced from: > -[PointPeekViewController > imagePickerControl

Re: [sqlite] Getting an error 21 when doing a sqlite3_prepare_v2

2011-05-04 Thread Rolf Marsh
Good Morning Richard... thanks for the response... after making the change you suggested and when doing the build, I get the following error: l "_sqlite3MisuseError", referenced from: -[PointPeekViewController imagePickerController:didFinishPickingMediaWithInfo:] in PointPeekViewController.

Re: [sqlite] Getting an error 21 when doing a sqlite3_prepare_v2

2011-05-03 Thread Richard Hipp
On Tue, May 3, 2011 at 9:46 AM, Rolf Marsh wrote: > Here is my code, written in Obj-C. I can't figure out what I'm doing > wrong... can someone enlighten me? Please? > Set a breakpoint on sqlite3MisuseError() and see where it is being hit. > > NSString * errmsg = nil; > SQLiteDB* db =

[sqlite] Getting an error 21 when doing a sqlite3_prepare_v2

2011-05-03 Thread Rolf Marsh
Here is my code, written in Obj-C. I can't figure out what I'm doing wrong... can someone enlighten me? Please? NSString * errmsg = nil; SQLiteDB* db = [SQLiteDB sharedSQLiteDB]; // create the d/b NSString *insertCommand = [NSString stringWithFormat:@"INSERT FAIL INTO CardDat