Oct-27-2020, 02:58 AM
the code to execute the insert will execute upon instantiation.
This cannot work as nothing has been entered into the entry widget at this point.
you need to bind the entry to a callback routine, and execute the database insert within the callback.
Here's a 'how to' for this: https://www.delftstack.com/howto/python-...n-tkinter/
This cannot work as nothing has been entered into the entry widget at this point.
you need to bind the entry to a callback routine, and execute the database insert within the callback.
Here's a 'how to' for this: https://www.delftstack.com/howto/python-...n-tkinter/