S
Stewart
I'm trying to enable/disable a command button, based on a check box(table
field), on a continuous form.
This form is a one-liner with only 6 items.
The weird thing is, if say 8 records(line items) are shown, changing the
check box on any one of the line items causes all other line's buttons to
respond, not
just that particular line I'm editing.
The code I've tried is:
Private Sub Testbutton_AfterUpdate()
If Me.chkBox = True Then
Me.cmdButton.Enabled = True
Else: Me.cmdButton.Enabled = False
End Sub
I've used this in a single forms successfully, but not continuous.
any ideas? using access 2003. Thanks
field), on a continuous form.
This form is a one-liner with only 6 items.
The weird thing is, if say 8 records(line items) are shown, changing the
check box on any one of the line items causes all other line's buttons to
respond, not
just that particular line I'm editing.
The code I've tried is:
Private Sub Testbutton_AfterUpdate()
If Me.chkBox = True Then
Me.cmdButton.Enabled = True
Else: Me.cmdButton.Enabled = False
End Sub
I've used this in a single forms successfully, but not continuous.
any ideas? using access 2003. Thanks