J
Johnkl
Hello to the site
I'm having some problems when I try to hide some controls in my subfor
(datasheet view)
Depending on the user level I want some controls to be hidden so I use
the following code in the Form Open Event of the Subform
If Level= 1 Or Level = 2 Then
[Forms]![mySubform]![myControl].ColumnHidden = -1
But it doesn't do anything....
Any Ideas on what I'm doing wrong???
Any help would be appreciated ...
Kind regards
Joh
I'm having some problems when I try to hide some controls in my subfor
(datasheet view)
Depending on the user level I want some controls to be hidden so I use
the following code in the Form Open Event of the Subform
If Level= 1 Or Level = 2 Then
[Forms]![mySubform]![myControl].ColumnHidden = -1
But it doesn't do anything....
Any Ideas on what I'm doing wrong???
Any help would be appreciated ...
Kind regards
Joh