J
James Frater
Hello Everyone,
I have a subform with it's default view set to continuous. I'd like it so
that where the value of a check box is true it would set the backcolour of
the respective row to vbYellow.
At the moment on the on_current event of the form I've got the following code:
If Me.TBC = True Then
Me.Detail.BackColor = vbYellow
Else
Me.Detail.BackColor = vbWhite
End If
However when a check box is true it makes every row on the form yellow
rather than the individual row.
Any thoughts or pointers on what I'm doing wrong would be most appreciated.
Many thanks
JAMES
I have a subform with it's default view set to continuous. I'd like it so
that where the value of a check box is true it would set the backcolour of
the respective row to vbYellow.
At the moment on the on_current event of the form I've got the following code:
If Me.TBC = True Then
Me.Detail.BackColor = vbYellow
Else
Me.Detail.BackColor = vbWhite
End If
However when a check box is true it makes every row on the form yellow
rather than the individual row.
Any thoughts or pointers on what I'm doing wrong would be most appreciated.
Many thanks
JAMES