J
Jason
I am attempting to lock a control on a form unless a user
is entering a new record, in which case I want the control
to be unlocked. I am using the following code:
Private Sub Report_Project_Change()
If Forms![Valuation].NewRecord = True Then
Me!Counterparty.Locked = False
Else
Me!Counterparty.Locked = True
End If
End Sub
When I try this, I receive an error stating that the
object doesn't support this property or method. What am I
doing wrong?
Thanks for your help,
Jason
is entering a new record, in which case I want the control
to be unlocked. I am using the following code:
Private Sub Report_Project_Change()
If Forms![Valuation].NewRecord = True Then
Me!Counterparty.Locked = False
Else
Me!Counterparty.Locked = True
End If
End Sub
When I try this, I receive an error stating that the
object doesn't support this property or method. What am I
doing wrong?
Thanks for your help,
Jason