How to prevent users changing details in Contacts List

S

Satish Boddapati

Hi All,
After entering the contact details in the contact form, How to prevent users
from changing the details through the Conacts List ??
We have customised the contact form for not entering the non-codepage 1252
characters into the form. But, there is a possibility that user may do the
trick by entering the non-codepage 1252 characters into the contact details
through contacts list by clicking on a particular record with the help of a
mouse and directly editing there.
As per our requirement, the contact details shall be synchronised to Siebel
through Exchange Server.

Please suggest me how to avoid users editing the contact records through
Contact List.
 
S

Sue Mosher [MVP-Outlook]

From my forthcoming Outlook 2007 programming book, this code should work with any version:

Dim mblnIsOpen
Dim mblnIsClosing

Function Item_Open()
mblnIsOpen = True
mblnIsClosing = False
End Function

Function Item_Write()
Dim strMsg
If Not mblnIsOpen Then
Item_Write = False
strMsg = "You cannot save an item without " & _
"opening it first." & vbCrLf & vbCrLf & _
"If you were editing this item using " & _
"in-cell editing, press Esc to cancel " & _
"the edits."
MsgBox strMsg, , "Can't Save Unopened Item"
End If
If mblnIsClosing Then
mblnIsClosing = False
End If
End Function

Function Item_Close()
mblnIsClosing = True
If Item.Saved Then
mblnIsOpen = False
End If
End Function

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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