In this video I'll show you how to add a new record to the database with our treeview app using tkinter and Python.
Adding a record to the database is pretty straight forward, I'll show you how to do it in this video.
After we add a new record, we want to clear the entry boxes and refresh the treeview to reflect the changes. To
do that we'll clear the treeview completely and then requery the database and output the results back to the cleared treeview.
#tkinter #codemy #JohnElder
Timecodes
0:00 - Introduction
1:22 - Create Add_record Function
2:06 - Connect To Database
2:27 - SQL INSERT INTO Execute Command
5:26 - Clear Entry Boxes
6:02 - Clear The Treeview Table
7:21 - Query The Database To Treeview Table
8:33 - Conclusion
Смотрите видео Add New Database Record With Treeview - Python Tkinter GUI Tutorial онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Codemy.com 18 Май 2021. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 12,819 раз и оно понравилось 314 посетителям.