Dim obj As AccessObject, dbs As Object
Set dbs = Application.CurrentProject
For Each obj In dbs.AllForms
If obj.IsLoaded = True Then
Forms(obj.Name).AllowEdits = False
Forms(obj.Name).AllowAdditions = False
Forms(obj.Name).AllowDeletions = False
End If
Next obj