http://qs321.pair.com?node_id=481497


in reply to Database problem

Sorry, I don't have the inclination to delve deeply into the code you post. But in the first handful of lines I notice: I'd put those three things at the top of your "to do" list.