Outlook 2000 Custom Forms - HELP?!

M

m_c_s_d

Hi,

I have designed a custom form based on IPM.Note - it's
IPM.Note.OperationalErrors. I have defined my own fields and bound them
to the controls on the form (P.2). The code is as follows:

Function Item_Open()
Dim oPage, oCtrl
On Error Resume Next
Set oPage = Item.GetInspector.ModifiedFormPages("P.2")
Set oCtrl = oPage.Controls("cboDepartment")

oCtrl.AddItem("Administration & Insurance")
oCtrl.AddItem("Cash Products Settlements")
oCtrl.AddItem("Compliance & Legal")
End Function

When I run the form, the code fires normally, but when I send it to
myself, the code does not fire.

I want to be able to fill in the form, send it back to the sender and
retain all of the information entered into the form. Is this possible?

Please help!

Thank you very much in advance.

Trevor
 
S

Sue Mosher [MVP-Outlook]

This is not possible to achieve unless you are in an Exchange organization
and can publish the form to the Organizational Forms library -or- you have
each user publish the form to their own Personal Forms library. The reason
is that code does not run on one-off or unpublished forms.

The alternative approach is to build the combo box using the Value tab of
the control's Properties dialog and preaddress the form to the desired
recipient. Then, save the form as an .oft file template. You can then mail
the .oft file to users, who can open it, fill in the information and click
Send.
 
T

Trev

OK, thank you, I AM in an Exchange environment, how do I publish to the
Organizational Forms Library? How do I explain this to our Exchange
server administrator?
 
T

Trev

OK, I got that to work...I want the user to click a response button
(Yes, No) and have the form appear in the reply email, is this possible?
 
S

Sue Mosher [MVP-Outlook]

Only if the response form is published to the Organizational Forms library
or the user's Personal Forms library. Set the desired form on the (Actions)
page of the first form, in design mode.

Also note: The newsgroup interface you are using apparently does not quote
earlier messages in the thread, making your latest message so short on
detail that you risk not getting the answer you're looking for. Please take
the time to quote the original message.
 

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