Item_Write event

B

Bryan Dickerson

In the Item_Close event of my custom form, I have a prompt for the user to
decide whether he wants to save the information or not. If that answer is
"No" then I execute an Item.Close olDiscard. So now I have some questions,
if the user selects "No", why is my Item_Write still firing? If the answer
is something along the lines of 'that's just the way it works", then how do
I tell in the Item_Write routine what the user selected?

TIA!
 
S

Sue Mosher [MVP-Outlook]

Adding a MsgBox statement to the Close and Write event handlers might shed
some light on this. The events fire in different orders, depending on just
what the user dones.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top