2
我怎样才能缩短此代码?我已经把他们的标签名称作为Group_Sal1?在访问表单上将控件分组在一起启用
Public Function Salary_Text_Editable()
Me.BasicSal.Enabled = True
Me.HouseAllow.Enabled = True
Me.TransAllow.Enabled = True
Me.PetrolAllow.Enabled = True
Me.AirfareAllow.Enabled = True
Me.MobileAllow.Enabled = True
Me.COLA.Enabled = True
Me.OtherAllow.Enabled = True
Me.SiteAllow.Enabled = True
Me.RemoteAllow.Enabled = True
Me.FoodAllow.Enabled = True
Me.EWOT.Enabled = True
Me.SaudiAllow.Enabled = True
Me.QatarAllow.Enabled = True
Me.BaynunahAllow.Enabled = True
End Function
非常感谢您的帮助。但不幸的是我仍然有调试。我不知道为什么? –