Hi,
I am trying this code but it's not working what Am I doing wrong?
if texUserName (in form named "frm1") then allow frmMain to be edited, else frmMain read only. Here is the code I used in frmMain (on Load):
Private Sub Form_Load()
If textUserName = "JSoifer" Then
Me.AllowEdits = True
else
Me.AllowEdits = False
Thanks in advance
Ismail
I am trying this code but it's not working what Am I doing wrong?
if texUserName (in form named "frm1") then allow frmMain to be edited, else frmMain read only. Here is the code I used in frmMain (on Load):
Private Sub Form_Load()
If textUserName = "JSoifer" Then
Me.AllowEdits = True
else
Me.AllowEdits = False
Thanks in advance
Ismail