View Single Post
  #1  
Old January 8th 08, 12:45 AM posted to microsoft.public.outlook.program_forms
karlman[_2_]
external usenet poster
 
Posts: 18
Default Custom form not saving when fields changed programatically

Is there a way to force a form as "dirty" so Outlook attempts to save
it if someone clicks the 'X'?

I am changing the HTMLBody and even a custom field but the if I click
the 'X' then the form closes without saving. If I change any field
using the GUI then it does ask to save if I press the 'X'.

I have code that tells me if the form is dirty. Should I add something
in the Item_Close event and force the save at that point?

Thanks
Karl
Ads