I have dropdown dw which the user can select the function of the main window(ie view only, update, insert). Whenever the user goes to change the function of the window(using the dropdown) I prompt to save any changes made in the current function(in the dropdown event) before they can select another function. If there are any errors, then I need to prevent the dropdown from displaying. Any ideas?