ineedyourhelp
MIS
I have discovered that you can disable many of the views in the properties section of the form, but I cannot find a way to disable the design view. Basically, I am looking for a way to disable the design view option when a user right clicks on a form.
I understand that I can disable the "right click feature", but I do not want to do that because of the copy/paste function that my users would like.
Is there a way to put a code in the OnActivate function of the form so that it will recognize the login and only allow the designated user to have the design view feature active on right click?
Maybe something like this....??
Private Sub Form_Load()
If fOSUserName() = "myname" Then
CODE HERE
Else
CODE HERE
End If
End Sub
I am aware that there is a post that claims to address this issue, (Disable Design view through VB coding
faq181-1172)but have tried it and have been unsuccessful. Anyway, I looked at the code and honestly could not find anything that relates to disabling the design view.
Thanks
I understand that I can disable the "right click feature", but I do not want to do that because of the copy/paste function that my users would like.
Is there a way to put a code in the OnActivate function of the form so that it will recognize the login and only allow the designated user to have the design view feature active on right click?
Maybe something like this....??
Private Sub Form_Load()
If fOSUserName() = "myname" Then
CODE HERE
Else
CODE HERE
End If
End Sub
I am aware that there is a post that claims to address this issue, (Disable Design view through VB coding
faq181-1172)but have tried it and have been unsuccessful. Anyway, I looked at the code and honestly could not find anything that relates to disabling the design view.
Thanks