I have a form with a listbox that will ahve record ID's added to it, and that is all. This listbox is not bound and is simply a temporary holding of record ID's until the user hit's the ok button, and then I will have a sort of print function (haven't figured that one out completely yet, but that's a different post).
So, the problem comes in that if the user hits the X, the form will close adn lose the info in the listbox. I want to warn them and then ask if they want to proceed. If not, then the msgbox dissapears and the form stays open. Any way to do this, since there is not a Before Close event?
I guess I could create my own exit button and get rid of the X, but just thought I would throw this out there to see if there were any suggestions.
So, the problem comes in that if the user hits the X, the form will close adn lose the info in the listbox. I want to warn them and then ask if they want to proceed. If not, then the msgbox dissapears and the form stays open. Any way to do this, since there is not a Before Close event?
I guess I could create my own exit button and get rid of the X, but just thought I would throw this out there to see if there were any suggestions.