You can close the form if you do it from the AfterUpdate event of the text box - I just tried that here. Doug