On Oct 3, 2006, at 3:22 PM, Simen Haugen wrote:

This actually had a very nice side effect. I've had problems all along
with SQLite tables and the error "Could not open database" when running
queries for no apparent reason. By only having one cursor on each
database this problem is also gone (at least it seems that way).

Are you running these queries from your bizobjs? That's really how cursors are designed to be used. Normally you set your SQL fields, filters, etc., and call bizobj.requery(). Cursors are then managed for you by the bizobj; you should rarely have to interact with one directly.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to