把新增按钮禁用?AfterLoad事件
If vars("模式") = "查询" then
e.Form.Controls("button1").Enabled = False
End If
打开窗口,设置变量 vars("模式") = "查询"