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 / December 2007

Tip: Looking for answers? Try searching our database.

Custom Outlook Form - Item_Reply event does not fire

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dch3 - 18 Dec 2007 20:34 GMT
I'm thinking that the issue is that the form is ending up as a one-off, but
I'm not certain.

I have a form that has code in the Item_Reply event that takes values in
several custom fields and insert it in to the message body, however the code
is not executing.

At this time, the form is published, but to my Personal Forms Library. When
I create a new item and send it, the form definition is successfully sent.

Ideas?
Sue Mosher [MVP-Outlook] - 18 Dec 2007 20:57 GMT
Did you leave the "send form definition with item" box unchecked? That's a requirement if you want the form to run code. Also see http://www.outlookcode.com/article.aspx?id=61,

Signature

Sue Mosher, Outlook MVP
  Author of Microsoft Outlook 2007 Programming:
    Jumpstart for Power Users and Administrators
   http://www.outlookcode.com/article.aspx?id=54

> I'm thinking that the issue is that the form is ending up as a one-off, but
> I'm not certain.
[quoted text clipped - 7 lines]
>
> Ideas?
dch3 - 19 Dec 2007 00:18 GMT
No. I checked it because I was under the impression that it had to be in
order for the custom fields and code to be sent. (I think I love Microsoft as
much as I love the IRS)

> Did you leave the "send form definition with item" box unchecked? That's a requirement if you want the form to run code. Also see http://www.outlookcode.com/article.aspx?id=61,
>
[quoted text clipped - 9 lines]
> >
> > Ideas?
Sue Mosher [MVP-Outlook] - 19 Dec 2007 01:41 GMT
The code is never "sent." Outlook will retrieve it only from a published form. The article I cited gives the prerequisites -- publication in the Organizational Forms library, without that box checked. Personal Forms is fine for your initial testing, but you'll want to remove that version once you publish to Org Forms.

Signature

Sue Mosher, Outlook MVP
  Author of Microsoft Outlook 2007 Programming:
    Jumpstart for Power Users and Administrators
   http://www.outlookcode.com/article.aspx?id=54

> No. I checked it because I was under the impression that it had to be in
> order for the custom fields and code to be sent. (I think I love Microsoft as
> much as I love the IRS)
>
>> Did you leave the "send form definition with item" box unchecked? That's a requirement if you want the form to run code. Also see http://www.outlookcode.com/article.aspx?id=61,

>> > I'm thinking that the issue is that the form is ending up as a one-off, but
>> > I'm not certain.
[quoted text clipped - 7 lines]
>> >
>> > Ideas?
 
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.