def update_rec(): con = sqlite3.connect("customerRecord.db") cur = con.cursor() cur.execute('SELECT * FROM customerRecord') cur.execute('UPDATE customerRecord SET TotalPurchase = (?) WHERE TotalPurchase = (?) ') con.commit()
def update(): customerDatabase_BackEnd.update_rec()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)