Hi Everyone,
I have a combo box where the user can choose the name and click on the delete button. But whenever I do that I am using the command button wizard and every time it deletes the first records. How do I make it so that it deletes the record which is chosen in combo box?
Also, how do i use a sql query to delete a record. e.g I am using docmd.runsql "Delete from doc where docname = testing " and I get a msg box to enter a value.
Thank you for your help
Rekha
I have a combo box where the user can choose the name and click on the delete button. But whenever I do that I am using the command button wizard and every time it deletes the first records. How do I make it so that it deletes the record which is chosen in combo box?
Also, how do i use a sql query to delete a record. e.g I am using docmd.runsql "Delete from doc where docname = testing " and I get a msg box to enter a value.
Thank you for your help
Rekha