MCPcopy Index your code
hub / github.com/geekcomputers/Python / update_age_in_database

Function update_age_in_database

bank_managment_system/frontend.py:483–496  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

481 def update_age():
482 # def a function eho updates name in database
483 def update_age_in_database():
484 new_age = entry_name.get()
485 r = check_string_in_account_no(new_age)
486 if len(new_age) != 0 and r:
487 # function in backend that updates name in table
488 backend.update_age_in_bank_table(new_age, acc_no)
489 entry_name.destroy()
490 submit_button.destroy()
491 age_label.destroy()
492 else:
493 tkinter.messagebox.showinfo("Error", "Please enter age")
494 entry_name.destroy()
495 submit_button.destroy()
496 age_label.destroy()
497
498 global age_label
499 age_label = Label(update_customer_frame, text="Enter new Age:")

Callers

nothing calls this directly

Calls 2

getMethod · 0.45

Tested by

no test coverage detected