OLEDropAllowed example for Access 2.0

This example toggles the OLEDropAllowed property.

If Me![LEAD1].Object.OLEDropAllowed = False Then
    Me![LEAD1].Object.OLEDropAllowed = True
Else
    Me![LEAD1].Object.OLEDropAllowed = False
End If