I have a select list and a DELETE button. When the delete button is clicked, a query is supposed to run DELETING the selected item from the database. How can I reference the selected item in the select list? I can reference the select list by :P11_ITEMS
Share
Using Apex 4.01, I created the following example:
A page with just a select list and a delete button
I select ALLEN and press delete
and you can see ALLEN has now been deleted.
Other than creating the two items, the only other item is a Page Processing PLSQL process, called delete_emp.
The delete_emp process has the following delete statement that references the select list.