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

Function update_name_in_database

bank_managment_system/frontend.py:453–466  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

451 def update_name():
452 # def a function eho updates name in database
453 def update_name_in_database():
454 new_name = entry_name.get()
455 r = check_string_in_account_no(new_name)
456 if len(new_name) != 0:
457 # function in backend that updates name in table
458 backend.update_name_in_bank_table(new_name, acc_no)
459 entry_name.destroy()
460 submit_button.destroy()
461 name_label.destroy()
462 else:
463 tkinter.messagebox.showinfo("Error", "Please fill blanks")
464 entry_name.destroy()
465 submit_button.destroy()
466 name_label.destroy()
467
468 global entry_name
469 global name_label

Callers

nothing calls this directly

Calls 2

getMethod · 0.45

Tested by

no test coverage detected