I have a continuous form in which I need 3 fields to be disabled based on a user clicking in a checkbox (marking it to True).
I have created some VBA to deal with that but it seems to disable those fields in all the records instead of just the current one.
I have also tried some Conditional Formatting to disable these fields but it does not seem to work. Is this a condition of continuous forms?
Here is the vba that I have currently have...
==================================================
Private Sub ysnShipReady_AfterUpdate()
' Enables or Disables Drivers Name, No. of Pkgs, Pickup Time fields if chkShipReady checkbox is on/off
If Me.ysnShipReady = True Then
Me.strDriverName.Enabled = False
Me.bytNoPkgs.Enabled = False
Me.dtmPickUpTime.Enabled = False
Else
Me.strDriverName.Enabled = True
Me.bytNoPkgs.Enabled = True
Me.dtmPickUpTime.Enabled = True
End If
End Sub
=========================================
Thanks in advance for the help.