I would like to include a way for the user to be able to delete multiple tables simultaneously from the database.
I've got a (scrolling) list box where the user could select an available table from the database, along with a command button that would take the selected table from the list box and delete it when clicked.
The code for deleting a table is as follows:
DoCmd.DeleteObject acTable, ListBox.Value
What I want to know is if anybody has a way to select multiple values from the List Box simultaneously (like with a CTRL-click) so the user can have multiple tables deleted simultaneously when the Delete command button is clicked.
Thanks!
I've got a (scrolling) list box where the user could select an available table from the database, along with a command button that would take the selected table from the list box and delete it when clicked.
The code for deleting a table is as follows:
DoCmd.DeleteObject acTable, ListBox.Value
What I want to know is if anybody has a way to select multiple values from the List Box simultaneously (like with a CTRL-click) so the user can have multiple tables deleted simultaneously when the Delete command button is clicked.
Thanks!