Here's the deal:
I have a button which pops up a listbox.
In this listbox the available queries are displayed.
When the user doubleclicks on a query a popup form is displayed containing the query in datasheet view contained in a subform.
When the user selects a query and presses <SHIFT> + D the query is deleted.
When the user selects a query and presses <SHIFT> + A the query is opened in design view for alteration.
I also use <SHIFT> + L to give the user the ability to link a query to a certain form so when they ask for a query only the linked ones are displayed (they can switch between linked queries and all queries by pressing <SHIFT> + V)
This is all easy to control and the user isn't able to get into the database screen.
The functionality which I would like to add now is the ability to create a new query while using the wizard. I can check to see if a new object is created and pick up from there, but if the user presses cancel then no new object is created.
The question is:
How can I check if the wizard is still running? Because then I can continue my application (send the user back to the main form)
Hope someone tried his hand at this before and can help me out here :)