Outlook 2003 - Custom form does not run when opened in other user's folder

G

Guest

I am using Outlook 2003 and MS SQL Server 2000 I am developing 2 custom forms: 1 for contacts and 1 for appointments

Whenever the custom contact or custom appointment is saved or modified or deleted, information is saved or modified or deleted on the SQL database. Whenever the custom contact or custom appointment is opened, it reads data from the SQL database and populates the custom form.

I just recently deployed these custom forms by publishing them to the Outlook Organizational Forms Library. Then I went to each persons computer and in the properties of contacts or appointments, I changed the "When posting to this folder use:" field to point to my custom forms on the Organizational Forms Library.

Then I ran the VBA code included in the Help file of Outlook, to convert all the old contact items (IPM.Contact) in the folder to my new custom form (IPM.Contact.PATContact). So now everything works fine and dandy.

The problem occurs when I do the following:

1) User A gives permission to User B as Editor to User A's Contacts and Calendar
2) User B opens a new custom contact form in User A's Contacts: WAM!!! The custom form does not work. It does not pull any data from the SQL database to populate the custom form. I do not think the Item_Open event is firing.

Has anyone experienced this problem? Anyone have any solutions? Thanks in advance!
 
H

Hollis D. Paul

2) User B opens a new custom contact form in User A's Contacts: WAM!!! The custom form does not work. It does not pull any data from the SQL database to populate the custom form. I do not think the Item_Open event is firing.
Could you be a little more explicit about the meaning of "WAM!!!". While that has satis-
fying visual impact, it doesn't help us determine what is wrong. Any error message
appearing on your screen at that time? Does the SQL server report an error? Did the
answer to the Real Question really turn out to be 37, after all?

Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US

Mukilteo, WA USA
 
T

Tim

I do not think any of the events are being triggerd.

I put it a MsgBox "Fire" messsage in the Item_Open event
handler and it does not get fired.

There is no error message.

Basically none of the VB Script I wrote runs.

This problem does not happen when I used Outlook 2000.
When I create a new custom contact form in another user's
contacts folder, all my drop downs are populated and all
the information is pulled from the SQL server.

When I use Outlook 2003, nothing happnes. The form appears
but none of the drop downs are populated.

Thanks for your response.

I am really baffled here.
 
S

Sue Mosher [MVP]

Known issue -- see http://www.slipstick.com/dev/ol2003problems.htm#favforms.
Form script in other mailboxes does not run, by default, but you can change
the setting with a registry entry.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers


Tim said:
I am using Outlook 2003 and MS SQL Server 2000 I am developing 2 custom
forms: 1 for contacts and 1 for appointments.
Whenever the custom contact or custom appointment is saved or modified or
deleted, information is saved or modified or deleted on the SQL database.
Whenever the custom contact or custom appointment is opened, it reads data
from the SQL database and populates the custom form.
I just recently deployed these custom forms by publishing them to the
Outlook Organizational Forms Library. Then I went to each persons computer
and in the properties of contacts or appointments, I changed the "When
posting to this folder use:" field to point to my custom forms on the
Organizational Forms Library.
Then I ran the VBA code included in the Help file of Outlook, to convert
all the old contact items (IPM.Contact) in the folder to my new custom form
(IPM.Contact.PATContact). So now everything works fine and dandy.
The problem occurs when I do the following:

1) User A gives permission to User B as Editor to User A's Contacts and Calendar
2) User B opens a new custom contact form in User A's Contacts: WAM!!! The
custom form does not work. It does not pull any data from the SQL database
to populate the custom form. I do not think the Item_Open event is firing.
 

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