in reply to database problems

Sounds like you didn't read the DB_File documentation all of the way through - the Hints and Tips section warns of exactly this problem, why it happens, and how to avoid it.