Hi all,
I'm trying to figure out a way to lock Field1 until Field2 has been populated. However, I'm very new at access and I'm not sure how to go about doing this.
Current code that's not working:
Please advise!
I'm trying to figure out a way to lock Field1 until Field2 has been populated. However, I'm very new at access and I'm not sure how to go about doing this.
Current code that's not working:
Code:
Private Sub Field1_BeforeUpdate(Cancel As Integer)
If Me.Field2 Is Null Then Me.Field1.Enabled = False
Else Me.Field1.Enabled = True
End Sub
Please advise!