will loop through each database and get information from it. I was
able to get the information I needed of all queries within each
database. However, I cannot get the information I need for the forms.
Specifically I need to know the values of the AllowAdditions,
AllowEdits and AllowDeletions properties for each form.
Below is what I started doing. But it doesn't give me what I want.
For i = 0 To (db.Containers("Forms").Documents.Count - 1)
If (Len(db.Containers("Forms").Documents(i).Propertie s("RecordSource"))
0) Then
l_Action = ""
If (db.Containers("Forms").Documents(i).Properties("A llowAdditions").Value
= True) Then
l_Action = "AllowAdditions = True"
End If
If (db.Containers("Forms").Documents(i).Properties("A llowDeletions").Value
= True) Then
l_Action = "AllowDeletions = True"
End If
If (db.Containers("Forms").Documents(i).Properties("A llowEdits").Value
= True) Then
l_Action = "AllowEdits = True"
End If
If (l_Action <> "") Then
rs.AddNew
rs![AppName] = AppName
rs![ObjectName] =
db.Containers("Forms").Documents(i).Name
rs![ObjectType] = "FORM"
rs![Action] = l_Action
rs![SQLStatement] = db.QueryDefs(i).SQL
rs.Update
End If
End If
Next