syntax for using combo box to disable field (1 Viewer)

shay

Registered User.
Local time
Today, 14:17
Joined
Apr 29, 2002
Messages
169
Try this ...

Private Sub Form_Current()
Me.LocationId.SetFocus
Me.AreaLocation.Enabled = (Me.LocationId.Text <> "Hamilton")
End Sub


Private Sub LocationId_AfterUpdate()
Form_Current
End Sub

hth

shay :cool:
 

chewy

SuperNintendo Chalmers
Local time
Today, 14:17
Joined
Mar 8, 2002
Messages
581
HOT DAMN THAT WAS IT!

Thank you so much!!

Works like a charm!
 

Users who are viewing this thread

Top Bottom