AnnShowLockedIcon Example for Access 2.0

Note: This topic is for Document/Medical only.

This example toggles the AnnShowLockedIcon property.

'Toggle AnnShowLockedIcon
    If Me![LEAD1].Object.AnnShowLockedIcon = True Then
        Me![LEAD1].Object.AnnShowLockedIcon = False

    Else
        Me![LEAD1].Object.AnnShowLockedIcon = True
    End If