Can anyone tell me why this is not working?
If UCase(Text57) = UCase(Me.Combo66) Then
Me.frmForPhysicianRep.Locked = False
Else
Me.frmForPhysicianRep.Locked = True
End If
End Sub
I have a form(frmMain) with a subform (frmForPhysicianRep) in it.
If the value in text57 (Text57 is in login form) equal the value of combo66 (Combo66 is in frmMain) then subform is not locked else lock subform
Thanks
If UCase(Text57) = UCase(Me.Combo66) Then
Me.frmForPhysicianRep.Locked = False
Else
Me.frmForPhysicianRep.Locked = True
End If
End Sub
I have a form(frmMain) with a subform (frmForPhysicianRep) in it.
If the value in text57 (Text57 is in login form) equal the value of combo66 (Combo66 is in frmMain) then subform is not locked else lock subform
Thanks