fredg said:
I have: A continuous form with a checkbox in each record.
I want: The background color of the record to change, depending on the value
of the checkbox (False = White, True = Red).
Any suggestions?
Select each control that you wish to change the back color on.
Click on Format + Conditional Formatting
Set Condition1 to
Expression is
write in the next box
[CheckControlName] = -1
Select the Red back color.
Save the changes.
Is there a way to format the record background (not the control background)?
I tried the code below, but this changes the background of all records on the
form. I want to change the background color of only the records where the
checkbox is checked.
If TRShade.value = True Then
Me.Detail.BackColor = 12632256
Else
Me.Detail.BackColor = 16777215
End If