In this video I'll show you how to delete a record from our database using the Treeview and entry boxes in our Treebase app.
Deleting records from the database is pretty simple. We just connect to the database as usual, create a cursor as usual, then run one simple SQL command to delete a record with a specific ID.
When deleting records from any database, you always want to use that records unique id, or primary key, or in sqlite3's case, the rowid (oid).
#tkinter #codemy #JohnElder
Timecodes
0:00 - Introduction
1:43 - Connect To Database
2:23 - How Deleting From A Database Works
4:00 - Delete ID From Database
5:16 - Clear Entry Boxes
6:12 - Create Popup Box On Delete
8:21 - Conclusion
On this page of the site you can watch the video online Delete Database Record With Treeview - Python Tkinter GUI Tutorial with a duration of hours minute second in good quality, which was uploaded by the user John Elder 25 May 2021, share the link with friends and acquaintances, this video has already been watched 12,765 times on youtube and it was liked by 244 viewers. Enjoy your viewing!