New topic in Databases: How to delete a recording by choose in a listbox
gibet_b - Wed Jun 11, 2008 9:24 am <http://forums.realsoftware.com/viewtopic.php?t=22854> Hello everybody, I founded the topic "Tips for using databases with REALbasic" I create my database in code and I try to use the method for populate a listbox and it works fine, but i still have questions... My table : EMPLOYE (id_employe integer not null, nom_employe varchar not null, prenom_employe varchar not null, primary key(id_employe)) The SQL instruction used to populate my listbox : "SELECT nom_employe, prenom_employe FROM EMPLOYE" I want to select a line in my listbox and click on a delete button for delete a record. How can I do ? I don't want to display the primary key in my listbox. I hope my english is not so bad... Thanks a lot ! JB -- Over 900 classes with 18000 functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v8.1. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> [email protected]
