That sounds just plain weird. Do the items show up OK in the Activities page? And they work OK on the machine where the links are created? Are the users working from two different server replicas? Or one with offline folders?
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Dan Allason" wrote in message ...
Hi All,
I don't know if this is a solvable problem or not but it has had me in a
twist for a couple of days now. I am developing a CRM system for our company
sales team to use and have opted to have all contacts,tasks,journal items,
etc stored in Public Folders on our Exchange server. I have just finished
coding a new Task form to store a Contact Plan to make contact with one or
many customers. On saving the Contact Plan item I have all the selected
customers from an OVC window added to the Links collection by the following
vbscript:
Set custSelection = viewCustomers.Selection
If custSelection.Count 0 Then
For J = custSelection.Count To 1 Step -1
Set objItem = custSelection.Item(J)
Item.Links.Add(objItem)
Next
End If
Where viewIndividuals is an OVC control. This works seamlessly until you try
and open the saved Contact Plan from another machine (or perhaps user?!) and
attempt to open a link - the links are still shown in the collection but when
they are double-clicked an error is seen saying that the requested operation
(Open Calendar???) is not allowed on items of this type. I need the links
collection to work not only the activities page of a contact but so that when
the Contact Plan is completed, the VBScript can go through the links and
update their 'NextContactDueBy' date.
I have a suspicion that this problem is something to do with access
permissions or ownership of the items but can't see how this should be a
problem when using public folders (I have set all the relevant access
permissions to 'OWNER' for testing purposes). Any help with this would be
terribly appreciated!
Best Regards,
Dan Allason
System Developer