Opening new form

A

account12

Hi,

I have developed a custom outlook form which has some comboboxes and
textboxes.
Once I close this form and open a new one, the fields are the same
values as the last time I used the form.

Example, the email body is the email body of my last message.

I would like all the fields to be blank, and there seems to be a
problem with doing that by code, since the message body is readonly
(from what I know).

- Thanks.
 
S

Sue Mosher [MVP-Outlook]

What exactly are you closing and opening -- the form (the code/UI template) or the item (the data record)? Describe the steps you're using.
 
A

account12

I have published my form, in the template I cannot get rid of the text
in the message field. So I ended up publishing the form with the text
in the message field. When the user does a "New CustomEmail", then form
opens and has some of the fields already filled in, including the
message field (because I couldn't get rid of the text when designing
the form). Also if the user updates the other fields and saves, once
they do "New CustomEmail" again, those previous fields are still there.
I would like a complete blank custom form everytime the form is opened.


On another note, I have allowed the user to save the form as a draft,
however some of the fields are lost when opening the draft.

- Thanks for your help.
 
S

Sue Mosher [MVP-Outlook]

To get rid of the text in the message field, run the form, delete the message body, then republish the form. The same technique works with any other field, except of course those for which you have set an initial value.

As for the "lost" fields, did you create custom properties to store the data and bind them to the controls where the user enters the information?
 

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