I am creating my Db with this code def open_db(self): self.cadmvinfo.open(self.filename, db.DB_HASH, db.DB_CREATE,db.DB_DUP)
I am putting the data with this code def store_data(self,manual_processing_code,date,file_code,license_number,vin_num ber, year_model,make,user_info,End_Usr_ac): print "storing data..." self.cadmvinfo.put("manual_processing_code",manual_processing_code) self.cadmvinfo.put("date" ,date) self.cadmvinfo.put("filecode" ,file_code) self.cadmvinfo.put("licensenumber" ,license_number) self.cadmvinfo.put("vinnumber" ,vin_number) self.cadmvinfo.put("yearmodel" ,year_model) self.cadmvinfo.put("make" ,make) self.cadmvinfo.put("userinfo" ,user_info) self.cadmvinfo.put("EndUsrac" ,End_Usr_ac) but I still cannot get it to store duplicate keys (in other words I overwrite the data over and over) I know it is something simple, but cannot put my finger on it. Help! _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor