Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / May 2004

Tip: Looking for answers? Try searching our database.

Disappearing Fields on Custom Form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
- 15 May 2004 15:50 GMT
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.)

Signature

Michael Fuerst
802 N Broadway
Urbana IL   61801

217-239-5844

Sue Mosher [MVP-Outlook] - 15 May 2004 17:12 GMT
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?

Signature

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

> I have a problem with the retention of user defined fields as a
> message progresses among users.   I am using Outlook 2002.
[quoted text clipped - 66 lines]
> Approved, Disapproved and RequestDate.    (The Reviewer field, also
> affected by the supervisor, did turn to blank.)
A Phillips - 28 May 2004 17:09 GMT
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
AP - 28 May 2004 17:29 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.