Dim thisform = Application.Map.Layers(lyrname).Forms('EDITFORM') If lyrform.Mode = 2 Then Application.MessageBox('Form open for editing') Else If lyrform.Mode = 3 Then Application.MessageBox('Form open for new feature') End If
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.