My form runs perfectly. One of the users wants permission to use "DataSheetView" from the form. So i added the following as an "On Open" event for the form:
If (Environ("username") = "dwhit142") Then
Me.AllowDatasheetView = True
THIS code generates the following error:
runtime error 2136
However, the following code on the same form works perfectly:
If (Environ("username") = "dwhit142") Then
Me.AllowAdditions = True
Any ideas? thanks.