Hi

I need some help. I have a Multipage with 3 tabs (each tab has its own controls but they also share some command buttons with every other tab eg - save, close etc). When the user clicks a command button eg - close, I need to check if any of the data has changed on the tab before closing. I have exit events on all controls to check the data status. I need these exit events to have fired prior to the user clicking on a command button and then execute the command button code. The problem is that the command button code executes first then the control_exit event runs.

If the user clicks another control in the tab first, then a command button, all the code executes in the correct order.

What can I do to make this work correctly?

Thanks