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 buttons to respond, not
just that particular form-line.
My code is like:
Private Sub Testbutton_AfterUpdate()
If Me.chkBox = True Then
Me.cmdButton.Enabled = True
Else: Me.cmdButton.Enabled = False
End Sub
I've used this on a single form, but not continuous.
any ideas? 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 buttons to respond, not
just that particular form-line.
My code is like:
Private Sub Testbutton_AfterUpdate()
If Me.chkBox = True Then
Me.cmdButton.Enabled = True
Else: Me.cmdButton.Enabled = False
End Sub
I've used this on a single form, but not continuous.
any ideas? Thanks