J
jj
Hi
I'm having the following sub:
Sub setEnabledControl(bgrp , bAnul, bPubl, bTidInt, bEftlev)
Me.Controls("CboxGrup").Enabled = bgrp
Me.Controls("CboxAnnul").Enabled = bAnul
Me.Controls("CboxPup").Enabled = bPubl
Me.Controls("CBoxTi").Enabled = bTidInt
Me.Controls("CboxJob").Enabled = bJob
End sub
And I call it from another sub by:
Call setEnabledControl (True, False, True, True, False)
My problem is that the controls always shows Enabled = true for all controls
!!!
Anyone knows what I do wrong?
Thanks
Jacob
I'm having the following sub:
Sub setEnabledControl(bgrp , bAnul, bPubl, bTidInt, bEftlev)
Me.Controls("CboxGrup").Enabled = bgrp
Me.Controls("CboxAnnul").Enabled = bAnul
Me.Controls("CboxPup").Enabled = bPubl
Me.Controls("CBoxTi").Enabled = bTidInt
Me.Controls("CboxJob").Enabled = bJob
End sub
And I call it from another sub by:
Call setEnabledControl (True, False, True, True, False)
My problem is that the controls always shows Enabled = true for all controls
!!!
Anyone knows what I do wrong?
Thanks
Jacob