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作者: franky_xhl 时间: 2006-5-6 23:41
谢谢 andymark 也就是说我应该在每次窗体打开的时候call下这句话吧作者: andymark 时间: 2006-5-6 23:54
只能这样