chewy
SuperNintendo Chalmers
- Local time
- Today, 18:27
- Joined
- Mar 8, 2002
- Messages
- 581
what would the syntax be for if the choice "Hamilton" was selected in a combo box... and have it disable the "Area" field? I got it to disable the field but it disables all "Area"in all records.
Private Sub LocationId_BeforeUpdate(Cancel As Integer)
If LocationId.Value = "Hamilton" Then
Me!AreaLocation.Enabled = False
End If
End Sub
I also tried
Private Sub LocationId_BeforeUpdate(Cancel As Integer)
If LocationId.Value = "Hamilton" Then
Me.AreaLocation.Enabled = False
End If
End Sub
Thanks
Private Sub LocationId_BeforeUpdate(Cancel As Integer)
If LocationId.Value = "Hamilton" Then
Me!AreaLocation.Enabled = False
End If
End Sub
I also tried
Private Sub LocationId_BeforeUpdate(Cancel As Integer)
If LocationId.Value = "Hamilton" Then
Me.AreaLocation.Enabled = False
End If
End Sub
Thanks