Agreed on all counts, especially since SQLite works with databases in memory. I tend to keep database connections open for as little time as I can get away with, and if I have to lock resources I also lock as few as possible in a multiuser situation. -- Mark Wieder ahsoftware at gmail.com