ISProfileForm.LockForm

Description

This function locks the CDO form and its linked contact to prevent them from being changed somewhere else.

Syntax

object.LockForm

Part Attribute Type Description
object Required
The object always implements the ISProfileForm interface

Example

Lock the CDO form and its linked contact to prevent them from being changed somewhere else.

Dim aForm

Set aForm = Profile.Form
aForm.LockForm  
Note: This macro should be executed in any event handler of the form control.

Version information

Added in v7.8.0