AnnShowLockedIcon example for Visual Basic

Note: Also works with Access 95 and 97.

Note: This topic is for Document/Medical only.

This example toggles the AnnShowLockedIcon property.

'Toggle AnnShowLockedIcon
    If Lead1.AnnShowLockedIcon = True Then
        Lead1.AnnShowLockedIcon = False
    Else
        Lead1.AnnShowLockedIcon = True
    End If