A
andrew3254
Hiya,
I have several forms which I want to toggle the DataEntry property according
to a user property. The user property is being looked up and the right value
is being obtained but when it comes to setting the DataEntry property of the
form it doesnt seem to be working.
Here is my code:
If isAdmin = True Then
[Forms]![frmSecondments].Form.DataEntry = False
[Forms]![frmSecondments].NavigationButtons = True
Else
[Forms]![frmSecondments].Form.DataEntry = True
[Forms]![frmSecondments].NavigationButtons = False
End If
The navigation buttons are switching ok but the data entry isnt.
Does anyone have any ideas?
I have several forms which I want to toggle the DataEntry property according
to a user property. The user property is being looked up and the right value
is being obtained but when it comes to setting the DataEntry property of the
form it doesnt seem to be working.
Here is my code:
If isAdmin = True Then
[Forms]![frmSecondments].Form.DataEntry = False
[Forms]![frmSecondments].NavigationButtons = True
Else
[Forms]![frmSecondments].Form.DataEntry = True
[Forms]![frmSecondments].NavigationButtons = False
End If
The navigation buttons are switching ok but the data entry isnt.
Does anyone have any ideas?