Error Message

A

Arlene Swedberg

I have someone testing a custom form I have created and
they are receiving the following error message:

Object required: '[string: "IPM.Task.Unit Change
Request"]'Line No:72

The error is referring to this line in my Item_Open
procedure:

Set sSaveMessageClass = Item.MessageClass

I also have the following in my Item_Write function:

Set MyProp = Item.Userproperties.Add("MyField",1)
Item.MessageClass = sSaveMessageClass
Item.save

I found this example when I was searching for a fix for my
form that was becoming a one-off form.

Why am I able to run the form without error, but another
user gets the error message?

Arlene
 
A

Arlene Swedberg

-----Original Message-----
MessageClass is a string, not an object. Hence, the statement should be:

sSaveMessageClass = Item.MessageClass

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.slipstick.com/books/jumpstart.htm

I have someone testing a custom form I have created and
they are receiving the following error message:

Object required: '[string: "IPM.Task.Unit Change
Request"]'Line No:72

The error is referring to this line in my Item_Open
procedure:

Set sSaveMessageClass = Item.MessageClass

I also have the following in my Item_Write function:

Set MyProp = Item.Userproperties.Add("MyField",1)
Item.MessageClass = sSaveMessageClass
Item.save

I found this example when I was searching for a fix for my
form that was becoming a one-off form.

Why am I able to run the form without error, but another
user gets the error message?

Arlene
.
Thank you!
 

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