Disappearing Fields on Custom Form

G

Guest

I have a problem with the retention of user defined fields as a
message progresses among users. I am using Outlook 2002.

First the short version of my problem, in case such is enough for
someone to offer advice.

An employee can use a custom form stored in the Organizational Forms
library to request vacation time. The employee sends this to a
special mailbox to which his/her supervisor has access. The
supervisor opens up the message, clicks either an Approved or
Disapproved check box, and then clicks Reply and Send. At each stage
code behind the form changes some visible fields and checks
consistency of user entries. When the supervisor clicks Reply, the
fields which the employee completed are visible. When the supervisor
clicks Send as expected the form is sent to the employee's Inbox and a
Sent Item appears in the supervisor's own Sent Items Folder.
The problem is that when the requesting
employee opens up the supervisor's response, the values of most of the
form's user-defined fields are now blank.


Now the longer version of my problem with more technical details:

I keep the form as an .oft file on my computer and publish it to the
Organization Forms Library. This form
(a) Has 30 or so user-defined fields all placed on the form's Message
page. Its fields include ones name Approved, Disapproved, Requestor,
RequestDate, Reviewer, ReviewDate. The standard field message has
been removed
(b)Does not use separate Edit Compose and Edit Read Pages
(c)Has an .oft file size of 88 KB
(d)Does NOT have "Send From Definition with Item" checked, so that
code within the form can run.

When the employee opens the form to make a vacation time request,
VBSCRIPT code completes two visible fields containing the employee's
name and the current date/time (Requestor and RequestDate). The
VBSCRIPT also does various validity checks on the various other fields
filled in by the employee

The employee sends the completed form to a special Inbox, which I'll
refer to as VacationRequest. This Inbox has no custom fields.
Messages arriving in this Inbox have a size of about 11KB, which
indicates, as expected, that the form definition has not been saved
with the message.

The employee's supervisor, who has access to the VacationRequest
Inbox, opens the message from the employee, clicks either the Approved
or Disapproved checkbox (each associated with a field of the same
name), upon which VBSCRIPT code fills in two visible fields containing
the supervisor's name and the current date/time (Reviewer and
ReviewDate). The supervisor then clicks Reply then Send, which sends
the message back to the requesting employee, and puts a copy of the
sent message into the supervisor's personal Sent Items folder. The
now changed message in the VacationRequest Inbox correctly displays
the supervisor's changes.

The messages arriving in the employee's Inbox and the supervisor's
Sent Items folder have 15KB. The several fields changed by the
supervisor cannot account for the 4KB growth.

All of the above messages have a Message Class of
IPM.Note.test_eleave, where test_eleave is the name of the custom
form. Thus the form definition is not being saved with the messages.

My problem is that when the requesting employee opens up the message
in his/her Inbox and when the supervisor opens up the resulting Sent
Items message, Outlook has lost the values of all the user defined
fields except three of the four fields affected by the supervisor:
Approved, Disapproved and RequestDate. (The Reviewer field, also
affected by the supervisor, did turn to blank.)

--
Michael Fuerst
802 N Broadway
Urbana IL 61801

217-239-5844
 
S

Sue Mosher [MVP-Outlook]

So the requesting employee sees the correct form, but the controls that
should be displaying the custom fields are blank.

How do you have the Reply action set up on the (Actions) tab? Did you just
modify the original Reply action? Or did you make a new action? If the
latter, what are its settings?

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
A

A Phillips

I am having the same problem and it does not seem to be limited to
Outlook 2002.

We had an existing form that was working fine for years, but we wanted
to add a few additional fields and some code. I created a new form that
was cloned from the older form. The new form has the problem, the older
form does not.

Have you found any information or a solution yet? I would be interested
in anything you may have found as a cause or solution.

Thanks,
Angel Phillips
Raymond James Financial
 
A

AP

We are having a similar problem and it is not just with Outlook 2002.

We had a form that worked for years, but we wanted to add a few more
fields and some code. I cloned the existing form to do this and
published with a new name. The old form still works, the new form does
not.

I would be interested in any information or solutions you might have
found for this problem.

Thanks,
AP
 

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