AnnAutoMenuEnable Example for Access 2.0

Note: This topic is for Document/Medical only.

This example toggles the AnnAutoMenuEnable property.

If (Me![LEAD1].Object.AnnAutoMenuEnable = True) Then
   Me![LEAD1].Object.AnnAutoMenuEnable = False
Else
   Me![LEAD1].Object.AnnAutoMenuEnable = True
End If