Thanks for your reply! Well, something real wierd is happening. Cancel works perfectly, however, when I click Ok, the mainform closes, not the existing dataentry form. I click the button again>Select ok again, then the dataentry form does close. Am I somehow bound to both? Thank you for your reply!