K
Kirk P.
I've got a subform (sfrmRevenue) that contains a combo box called TranType.
In the After Update event of this combo box, I've got this code...
If Me!TranType.Column(0) = 1 Then
Me.Rate.Enabled = True
Me.Members.Enabled = True
End If
The code works fine, but what I really want is to enable the Rate and
Members controls in the current record only - the code currently enables the
Rate and Members controls for ALL records. The subform is displayed in
datasheet mode. Saying it another way, I only want to enable Rate and
Members for the record that currently has the focus. Is this do-able?
In the After Update event of this combo box, I've got this code...
If Me!TranType.Column(0) = 1 Then
Me.Rate.Enabled = True
Me.Members.Enabled = True
End If
The code works fine, but what I really want is to enable the Rate and
Members controls in the current record only - the code currently enables the
Rate and Members controls for ALL records. The subform is displayed in
datasheet mode. Saying it another way, I only want to enable Rate and
Members for the record that currently has the focus. Is this do-able?