My program logs entries from it's GUI into an access database. All is working well, but after a while it stops loading the new window prompts that occur on submission using the stock or replace buttons. See the GUI and blank pop up below. This is the code for the new window for creation and destroying of the window: #Define function for popup to check if user input is to be continued on stock def safetyCheckStock(): global newWindow newWindow = Toplevel() newWindow.title("Safety Check") newWindow.focus_set() icon =PhotoImage(file='logo.png') newWindow.iconphoto(False, icon) oldQty = findOldQty() Label(newWindow, text = "Are you sure you want\nto stock "+retrieveQty()+" of Job "+retrieveJob()+"?",font=("Arial bold", 24) ,fg="black").grid(row=0,column=0,padx=30,pady=3,sticky='W',columnspan=2) Button(newWindow, text = "Yes", command = lambda : safetyDecisionStock(True),width='28',height='7', bg= "#6fbffb").grid(row=1,column=0,padx='4',pady='4',sticky='W') Button(newWindow, text = "No", command = lambda : safetyDecisionStock(False),width='28',height='7', bg="#959799").grid(row=1,column=1,padx='4',pady='4',sticky='W') newWindow.bind("<Return>",closeNewWindow) newWindow.mainloop() #Run stock PCB if input was yes. def safetyDecisionStock(decision): newWindow.destroy() if decision: stockPCB() I'm not sure if it's a way I'm calling the window. But this seems like a cache issue. It works for like an hour worth of entries then just shows a blank screen until reboot of the program. Any help would be greatly appreciated. Continue reading...