Clay Dowling wrote: > 1. Use the sqlite3 interface, not sqlite 2. > > 2. Store a 0 or a 1 in the field. Then you can get the value with > sqlite3_column_int > > There's a more complicated answer as well, but I wasn't able to get the > code assembled before it was time to turn in last night. > > Clay Dowling
My proposed "more complicated answer" can be downloaded from http://www.lazarusid.com/download/dbconfig.zip It's shockingly complete, with documentation and unit testing even. If my boss ever finds out that I'm doing stuff like that there's gonna be trouble.... Clay -- CeaMuS http://www.ceamus.com Simple Content Management