I am trying to get certain lines of a report to have a different color based on the value of "Yes/No" field in a table. The text box "TXTshipped" is currently set to have that very Yes/No field as its control. I set that control to visible=false and then tried this:
If Me.TXTshipped = True Then
Me.Detail.BackColor = RGB(100,0,0)
End If
When I do this in the Detail Format function every line is colored no matter what value is stored in that field. I also noticed that when I type:
Me.TXTshipped.
the drop down box doesn't include all the normal features of a text box control. I am somewhat new to doing programming in Access and can't seem to figure out what I am missing. Please help.
If Me.TXTshipped = True Then
Me.Detail.BackColor = RGB(100,0,0)
End If
When I do this in the Detail Format function every line is colored no matter what value is stored in that field. I also noticed that when I type:
Me.TXTshipped.
the drop down box doesn't include all the normal features of a text box control. I am somewhat new to doing programming in Access and can't seem to figure out what I am missing. Please help.