Some more help please - I seem to be in complete brain dead mode today!!
I have solved one issue thanks to you guys, but another has now raised it's head.
The main form in my appliaction displays another form non modally, so that it can be minimised and other application features used.
However on this form that is displayed non-modally, if I display an error message, using msgbox, then the non-modal form disappears and the main appliaction form is shown, with the msgbox on it!!
It is obviously something to do with the form being displayed non-modally, as if I display it modally it works ok, except that I can not minimise the window and use other aplication functionality.
Should I not use msgbox and implement a function of my own to do a similiar thing? (must be one around here somewhere I am sure).
Thanks again for your help.
I have solved one issue thanks to you guys, but another has now raised it's head.
The main form in my appliaction displays another form non modally, so that it can be minimised and other application features used.
However on this form that is displayed non-modally, if I display an error message, using msgbox, then the non-modal form disappears and the main appliaction form is shown, with the msgbox on it!!
It is obviously something to do with the form being displayed non-modally, as if I display it modally it works ok, except that I can not minimise the window and use other aplication functionality.
Should I not use msgbox and implement a function of my own to do a similiar thing? (must be one around here somewhere I am sure).
Thanks again for your help.