Mail Enabled Form - Edit Compose Page vs. Edit Read Page

Mail Enabled Form - Edit Compose Page vs. Edit Read Page

Post by RWR1YXJkb » Fri, 07 Jan 2005 01:15:05


I created a customized "mail-enabled" form to capture data for a test.
However, the data does not display upon receipt of the memo/test in Outlook.
How do I display this information using the same form that was used to
capture this data? As well, can you also point me to where I can find code
to validate answers (i.e. whether the answers to the questions are
correct/incorrect) and calculate the results for display?

Thanks in advance.
 
 
 

Mail Enabled Form - Edit Compose Page vs. Edit Read Page

Post by Sue Mosher » Fri, 07 Jan 2005 03:28:14

Where is the form published? How are users launching it? Did you add
controls on the read layout that match those on the compose page?

See http://www.yqcomputer.com/ #formulas for links to several
articles on validation and value formulas. If you have more complex
validation needs, then you'll want to put code in the Item_Send event
handler to check property values before allowing the item to be sent. See
http://www.yqcomputer.com/
syntax.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.yqcomputer.com/

 
 
 

Mail Enabled Form - Edit Compose Page vs. Edit Read Page

Post by RXJpYyBMZW » Fri, 07 Jan 2005 03:47:02

You must select the "Send form definition with item" checkbox of the
Properties page of your custom IPM.Note form.

To validate answers, either use code by trapping the PropertyChange or
CustomPropertyChange events (depending if you have created custom fields or
not), check the values in the Item_Write or Item_Close events, or set
validation rules in the Validation tab of a control's Properties page.

For more info, see the "Using Field Validation" section in the "Working with
Forms"-"Working with Fields and Controls" section of the OLFM10.CHM help file
(Outlook Forms Help).

Also see this link:

Syntax for Microsoft Outlook property and control values and events:
http://www.yqcomputer.com/
 
 
 

Mail Enabled Form - Edit Compose Page vs. Edit Read Page

Post by Sue Mosher » Fri, 07 Jan 2005 04:28:34

> You must select the "Send form definition with item" checkbox of the

Only if you have no code on the form that you want to run and you're sending
to Outlook users outside your Exchange organization.
 
 
 

Mail Enabled Form - Edit Compose Page vs. Edit Read Page

Post by RWR1YXJkb » Sat, 08 Jan 2005 00:31:02

Hi Sue,

Appreciate your response and help in this matter...
The form will be mailed as an attachment (vs. published in a public folder)
to outlook users within a select group in the organization. The employee
will open, answer the questions, and submit the form to their manager. The
manager will open the memo to verify the results.

It would be of value to display a summary of results in a column-based
format (I am assuming a customized view will be required here?). Can you
suggest websites that may be of help in this regard?

As well, I've copied the controls from the "Edit Composed Page", however, I
am getting a message "You cannot use "Question #" in this item" when pasting
in "Edit Read Page".

Please advise.

Ed
 
 
 

Mail Enabled Form - Edit Compose Page vs. Edit Read Page

Post by Sue Mosher » Sat, 08 Jan 2005 00:39:30

I'm still not clear on just what you'll be mailing -- an .oft file or an
embedded Outlook MailItem created with a published custom form (If the
latter, where is it published?) or a message created with the custom form
(not the message as an attachment).

You create a custom view with the View | [Arrange By] | Current View |
Define Views command. And custom fields you want to display in the view need
to be defined in the folder with the New button on the Field Chooser.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.yqcomputer.com/