Delete Database Record With Treeview - Python Tkinter GUI Tutorial

Pubblicato il: 25 maggio 2021
sul canale di: John Elder
12,765
244

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


In questa pagina del sito puoi guardare il video online Delete Database Record With Treeview - Python Tkinter GUI Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato John Elder 25 maggio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 12,765 volte e gli è piaciuto 244 spettatori. Buona visione!