I've changed the logic to use the DLG_YES and DLG_NO stuff. It should be a bit clearer what's going on now. Please review that and make sure it looks right, thanks. -- .....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>